Преглед на файлове

限定宽度960px 居中

visuddhinanda преди 2 години
родител
ревизия
f8dbb77e47
променени са 1 файла, в които са добавени 10 реда и са изтрити 1 реда
  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;