布局适配

This commit is contained in:
liu
2026-08-20 16:48:04 +08:00
parent 22237a47e7
commit 4fe4e985f6
7 changed files with 15 additions and 2 deletions
+3 -1
View File
@@ -64,7 +64,9 @@ const LayoutContent: React.FC = () => {
{ layout === "columns" ? <ColumnsMenu/> : <MenuRender />}
</Sider>
)}
<Layout>
{/* min-w-0flex 子项默认 min-width:auto 会被宽表格撑破,
归零后内容区宽度收敛到视口,表格自身的横向滚动才生效 */}
<Layout className="min-w-0">
<Content style={{padding: themeConfig.bodyPadding}}>
<Outlet/>
</Content>