Преглед изворни кода

:art: studio 内容内边距

visuddhinanda пре 3 година
родитељ
комит
5f2f5a319b
2 измењених фајлова са 3 додато и 1 уклоњено
  1. 2 1
      dashboard/src/pages/studio/group/index.tsx
  2. 1 0
      dashboard/src/pages/studio/style.ts

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

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

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

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