This commit is contained in:
xuqssq
2024-12-28 18:08:05 +08:00
parent b7802abb2d
commit adc3cb4f96
2 changed files with 12 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ const MainLayout = () => {
<Layout className="h-screen overflow-hidden"> <Layout className="h-screen overflow-hidden">
<Sidebar collapsed={collapsed} /> <Sidebar collapsed={collapsed} />
<Layout className="flex flex-col "> <Layout className="flex flex-col ">
<Header collapsed={collapsed} setCollapsed={setCollapsed} /> <Header collapsed={collapsed} setCollapsed={setCollapsed}/>
<Content <Content
className={` className={`
m-2 p-4 rounded-lg overflow-auto h-full m-2 p-4 rounded-lg overflow-auto h-full

View File

@@ -206,4 +206,15 @@ html.dark::view-transition-old(root) {
.ant-menu { .ant-menu {
height: 100%; height: 100%;
border: none !important;
background-color: transparent !important;
}
.ant-layout-sider {
@apply rounded-r-xl dark:!bg-black/80
}
.ant-layout-header{
@apply rounded-b-sm ml-2
} }