Explorar el Código

限定宽度960px 居中

visuddhinanda hace 2 años
padre
commit
f8dbb77e47
Se han modificado 1 ficheros con 10 adiciones y 1 borrados
  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;