Refactor the HideScrollbar. Finish scrollbar in HideScrollbar.

This commit is contained in:
2023-09-24 13:01:58 +08:00
parent 6fc0df74fa
commit 5db14cf033
4 changed files with 257 additions and 160 deletions

View File

@@ -10,6 +10,10 @@
overflow: scroll;
scrollbar-width: none;
-ms-overflow-style: none;
.hide-scrollbar-content {
display: inline-block;
}
}
::-webkit-scrollbar {
@@ -35,7 +39,7 @@
height: 100%;
border-radius: 8px;
background-color: constants.$font-secondary-color;
transition: all .2s;
transition: background-color .2s;
}
:hover {
background-color: constants.$font-main-color;