Skip to content

Commit 5203f34

Browse files
committed
解决占位条问题
1 parent 3d45516 commit 5203f34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/layouts/BaseLayout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const { description, keywords, title, canonical, ogType } = Astro.props;
178178
padding: 0;
179179
height: 100%; /* 确保body和html占满全屏 */
180180
margin: 0;
181-
overflow: scroll;
181+
overflow: auto;
182182
}
183183

184184
#menu {
@@ -196,7 +196,7 @@ const { description, keywords, title, canonical, ogType } = Astro.props;
196196
flex-direction: column;
197197
justify-content: flex-start;
198198
align-items: center;
199-
overflow: scroll;
199+
overflow: auto;
200200
}
201201

202202
.footer-link {

0 commit comments

Comments
 (0)