Skip to content

Commit

Permalink
feat: ✨ Scroll bar style optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenull committed Dec 2, 2022
1 parent 7adf51f commit 2666e68
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ html, body {
#root {
@apply w-screen h-screen;
}
// Scroll bar style optimization
*::-webkit-scrollbar {
background-color: transparent;
}
*::-webkit-scrollbar-corner {
background-color: transparent;
}
*::-webkit-scrollbar-thumb {
background-color: var(--ls-tint-text-color);
border: 5px solid transparent;
border-radius: 9px;
background-clip: content-box;
}

.page-container {
width: calc(100vw - 90px);
Expand Down

0 comments on commit 2666e68

Please sign in to comment.