Skip to content

Commit 75a0e95

Browse files
committed
页面过高时仅主窗口滚动
1 parent 5a34963 commit 75a0e95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ComputerLock/Shared/MainLayout.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
</MudNavMenu>
4646
</MudDrawer>
4747

48-
<MudMainContent>
49-
<MudPaper Class="py-4 px-3" Style="height: calc(100vh - 32px);">
48+
<MudMainContent Style="height: 100vh;">
49+
<MudPaper Class="py-4 px-3 overflow-auto" Style="height: 100%;">
5050
@Body
5151
</MudPaper>
5252
</MudMainContent>

0 commit comments

Comments
 (0)