visuddhinanda 3 лет назад
Родитель
Сommit
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" };