Browse Source

:art: studio 内容内边距

visuddhinanda 3 years ago
parent
commit
5f2f5a319b

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

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

+ 1 - 0
dashboard/src/pages/studio/style.ts

@@ -0,0 +1 @@
+export const styleStudioContent = { padding: "1em" };