Skip to content

Commit 1301736

Browse files
style: hide vertical scrollbar while keeping scroll functionality
Added CSS utility to hide the vertical scrollbar in form containers while preserving scroll behavior for better UI aesthetics.
1 parent b563653 commit 1301736

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/styles/globals.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,3 +308,14 @@ body {
308308
height: 14px;
309309
}
310310
}
311+
312+
/* Hide scrollbar for Chrome, Safari, Edge */
313+
.scrollbar-hide::-webkit-scrollbar {
314+
display: none;
315+
}
316+
317+
/* Hide scrollbar for Firefox */
318+
.scrollbar-hide {
319+
scrollbar-width: none;
320+
-ms-overflow-style: none;
321+
};

0 commit comments

Comments
 (0)