feat(v2): style sidebar on overflow (#2034)

This commit is contained in:
Endi 2019-11-24 08:47:51 +07:00 committed by Yangshun Tay
parent 2d15fadf16
commit 670fd4e182

View File

@ -13,6 +13,24 @@
position: sticky;
top: var(--ifm-navbar-height);
}
.sidebar::-webkit-scrollbar {
width: 7px;
}
.sidebar::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
.sidebar::-webkit-scrollbar-thumb {
background: #888;
border-radius: 10px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
background: #555;
}
}
.sidebarMenuIcon {