Hide scrollbar of sidebar

This commit is contained in:
Cotes Chung 2021-04-02 22:57:06 +08:00
parent a1fca3706f
commit 3b5441a1c2

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;