Hide scrollbar of sidebar

This commit is contained in:
Cotes Chung 2021-04-02 22:57:06 +08:00
parent a1fca3706f
commit 3b5441a1c2
1 changed files with 9 additions and 0 deletions

View File

@ -603,6 +603,15 @@ $sidebar-display: "sidebar-display";
z-index: 99;
background: var(--sidebar-bg);
/* Hide scrollbar for Chrome, Safari and Opera */
&::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
a {
@include sidebar-links;