修复顶部

This commit is contained in:
2026-07-11 19:44:14 +08:00
parent e28b6513c1
commit 5193b1c156
+4 -8
View File
@@ -3,19 +3,15 @@
@import "shadcn/tailwind.css"; @import "shadcn/tailwind.css";
/* Hide scrollbar */ /* Hide scrollbar */
html { * {
overflow: hidden;
height: 100%;
}
body {
overflow-y: auto;
height: 100%;
scrollbar-width: none; scrollbar-width: none;
-ms-overflow-style: none; -ms-overflow-style: none;
} }
body::-webkit-scrollbar { *::-webkit-scrollbar {
display: none; display: none;
width: 0; width: 0;
height: 0;
background: transparent;
} }
@custom-variant dark (&:is(.dark *)); @custom-variant dark (&:is(.dark *));