Skip to content

Commit e31a2ea

Browse files
committed
UI: Hide scrollbar completely across all browsers
1 parent 93770c5 commit e31a2ea

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@
151151
box-sizing: border-box;
152152
}
153153

154-
body {
154+
body,
155+
html {
155156
background-color: var(--bg-base);
156157
color: var(--text-main);
157158
font-family: var(--font-sans);
@@ -162,9 +163,11 @@
162163
overflow-x: hidden;
163164
/* Hide scrollbar but allow scrolling */
164165
scrollbar-width: none;
166+
-ms-overflow-style: none;
165167
}
166168

167-
body::-webkit-scrollbar {
169+
body::-webkit-scrollbar,
170+
html::-webkit-scrollbar {
168171
display: none;
169172
}
170173

0 commit comments

Comments
 (0)