Skip to content

Commit

Permalink
fix: update windows scrollbar style
Browse files Browse the repository at this point in the history
  • Loading branch information
yongheng2016 committed Nov 22, 2024
1 parent ce73501 commit e786773
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bytetrade/ui",
"version": "0.1.31",
"version": "0.1.32",
"private": false,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
21 changes: 17 additions & 4 deletions src/styles/global.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
body.olares-windows ::-webkit-scrollbar {
width: 0 !important;
height: 0 !important;
}
body.olares-windows {
::-webkit-scrollbar {
width: 6px;
height: 8px;
background-color: rgba(255, 255, 255, 0);
}

::-webkit-scrollbar-thumb {
background-color: #bcbdbe;
border-radius: 999px;
}
::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0);
}
}


0 comments on commit e786773

Please sign in to comment.