Skip to content

Commit f26affa

Browse files
committed
修复:页面滚动问题
1 parent 8320d6d commit f26affa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/pages/MainLayout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="min-h-screen h-screen flex flex-col overflow-hidden">
2+
<div class="min-h-screen h-screen flex flex-col">
33
<!-- 主导航栏 -->
44
<header class="sticky top-0 z-10 shadow bg-base-100">
55
<div class="px-4 sm:px-6 md:px-8 flex items-center justify-between h-16 mx-auto max-w-[1400px]">
@@ -128,7 +128,7 @@
128128
</div>
129129

130130
<!-- 页面内容区 -->
131-
<main class="flex-1 overflow-hidden">
131+
<main class="flex-1 overflow-auto">
132132
<router-view />
133133
</main>
134134

0 commit comments

Comments
 (0)