Skip to content

Commit f0e47ab

Browse files
author
zynx
committed
fix(guid): reset negative margin-top on mobile viewport
The -5vh margin-top on .guidLayout causes content clipping on mobile where the container switches to flex-start + overflow-y: auto. Reset to 0 in the mobile media query to prevent content from overflowing into the non-scrollable area.
1 parent 170f2d1 commit f0e47ab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/renderer/pages/guid/index.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@
129129
padding-top: 20px;
130130
-webkit-overflow-scrolling: touch;
131131
}
132+
133+
.guidContainer .guidLayout {
134+
margin-top: 0;
135+
}
132136
}
133137

134138
/* 浅色占位符 */

0 commit comments

Comments
 (0)