mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-21 18:19:03 +08:00
修复iOS端页面区域未铺满屏幕的问题
This commit is contained in:
+1
-1
@@ -296,7 +296,7 @@ function MainContent(): React.JSX.Element {
|
||||
}}
|
||||
>
|
||||
{contextHolder}
|
||||
<Layout style={{ height: "100vh", flexDirection: "row", overflow: "hidden" }}>
|
||||
<Layout style={{ height: "100%", minHeight: "100dvh", flexDirection: "row", overflow: "hidden" }}>
|
||||
<Sidebar
|
||||
activeMenu={activeMenu}
|
||||
permission={permission}
|
||||
|
||||
@@ -13,6 +13,7 @@ html,
|
||||
body,
|
||||
#root {
|
||||
height: 100%;
|
||||
min-height: 100dvh;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user