Przeglądaj źródła

限定宽度960px 居中

visuddhinanda 2 lat temu
rodzic
commit
f8dbb77e47
1 zmienionych plików z 10 dodań i 1 usunięć
  1. 10 1
      dashboard/src/pages/library/notifications/list.tsx

+ 10 - 1
dashboard/src/pages/library/notifications/list.tsx

@@ -1,8 +1,17 @@
+import { Col, Row } from "antd";
 import NotificationList from "../../../components/notification/NotificationList";
 
 const Widget = () => {
   // TODO i18n
-  return <NotificationList />;
+  return (
+    <Row>
+      <Col flex="auto"></Col>
+      <Col flex="960px">
+        <NotificationList />
+      </Col>
+      <Col flex="auto"></Col>
+    </Row>
+  );
 };
 
 export default Widget;