Skip to content

Commit fc4405b

Browse files
ensured that scrollbar doesnt shift items
1 parent 838d0c2 commit fc4405b

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

client/src/styles/globals.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,19 @@
7171
@apply bg-background text-foreground;
7272
}
7373
}
74+
75+
/* Hide scrollbar for Chrome, Safari and Opera */
76+
::-webkit-scrollbar {
77+
display: none;
78+
}
79+
80+
/* Hide scrollbar for Firefox */
81+
html {
82+
scrollbar-width: none;
83+
}
84+
85+
/* Hide scrollbar for IE, Edge */
86+
html {
87+
-ms-overflow-style: none;
88+
}
89+

0 commit comments

Comments
 (0)