فهرست منبع

:art: 添加content style

visuddhinanda 3 سال پیش
والد
کامیت
d44c3bde70

+ 3 - 4
dashboard/src/pages/studio/anthology/index.tsx

@@ -2,18 +2,17 @@ import { Outlet } from "react-router-dom";
 import { Layout } from "antd";
 
 import LeftSider from "../../../components/studio/LeftSider";
+import { styleStudioContent } from "../style";
 
 const { Content } = Layout;
 
 const Widget = () => {
-
 	return (
 		<Layout>
 			<Layout>
 				<LeftSider selectedKeys="anthology" />
-				<Content>
-				<Outlet />
-
+				<Content style={styleStudioContent}>
+					<Outlet />
 				</Content>
 			</Layout>
 		</Layout>

+ 2 - 1
dashboard/src/pages/studio/article/index.tsx

@@ -2,6 +2,7 @@ import { Outlet } from "react-router-dom";
 import { Layout } from "antd";
 
 import LeftSider from "../../../components/studio/LeftSider";
+import { styleStudioContent } from "../style";
 
 const { Content } = Layout;
 
@@ -10,7 +11,7 @@ const Widget = () => {
 		<Layout>
 			<Layout>
 				<LeftSider selectedKeys="article" />
-				<Content>
+				<Content style={styleStudioContent}>
 					<Outlet />
 				</Content>
 			</Layout>

+ 2 - 1
dashboard/src/pages/studio/channel/index.tsx

@@ -2,6 +2,7 @@ import { Outlet } from "react-router-dom";
 import { Layout } from "antd";
 
 import LeftSider from "../../../components/studio/LeftSider";
+import { styleStudioContent } from "../style";
 
 const { Content } = Layout;
 
@@ -10,7 +11,7 @@ const Widget = () => {
 		<Layout>
 			<Layout>
 				<LeftSider selectedKeys="channel" />
-				<Content>
+				<Content style={styleStudioContent}>
 					<Outlet />
 				</Content>
 			</Layout>

+ 2 - 1
dashboard/src/pages/studio/dict/index.tsx

@@ -2,6 +2,7 @@ import { Outlet } from "react-router-dom";
 import { Layout } from "antd";
 
 import LeftSider from "../../../components/studio/LeftSider";
+import { styleStudioContent } from "../style";
 
 const { Content } = Layout;
 
@@ -10,7 +11,7 @@ const Widget = () => {
 		<Layout>
 			<Layout>
 				<LeftSider selectedKeys="userdict" />
-				<Content>
+				<Content style={styleStudioContent}>
 					<Outlet />
 				</Content>
 			</Layout>

+ 2 - 1
dashboard/src/pages/studio/term/index.tsx

@@ -2,6 +2,7 @@ import { Outlet } from "react-router-dom";
 import { Layout } from "antd";
 
 import LeftSider from "../../../components/studio/LeftSider";
+import { styleStudioContent } from "../style";
 
 const { Content } = Layout;
 
@@ -10,7 +11,7 @@ const Widget = () => {
 		<Layout>
 			<Layout>
 				<LeftSider selectedKeys="term" />
-				<Content>
+				<Content style={styleStudioContent}>
 					<Outlet />
 				</Content>
 			</Layout>