Browse Source

限定宽度960px 居中

visuddhinanda 2 năm trước cách đây
mục cha
commit
f8dbb77e47
1 tập tin đã thay đổi với 10 bổ sung1 xóa
  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;