Skip to content

Commit

Permalink
remove custom scrollbar styles
Browse files Browse the repository at this point in the history
  • Loading branch information
pix666 committed May 25, 2024
1 parent 5598d31 commit 1e29deb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paper-checkbox-tree",
"version": "0.1.11",
"version": "0.1.12",
"description": "A JavaScript component that transforms a select element into a checkbox tree.",
"keywords": [
"widgets",
Expand Down
22 changes: 0 additions & 22 deletions src/index.pcss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
$scrollbar-track-color: hsl(0 0% 95%);
$scrollbar-thumb-color: hsl(200 100% 55%);
$outline-color: hsl(200 100% 55%);
$checkbox-background: hsl(200 100% 45%);
$checkbox-border-color: #d0d0d0;
Expand Down Expand Up @@ -80,26 +78,6 @@ $checkbox-border-color: #d0d0d0;
> div:last-child {
margin-bottom: 0.5em;
}

&::-webkit-scrollbar {
width: 8px;
}

&::-webkit-scrollbar-track {
background: $scrollbar-track-color;
border-radius: 100vw;
}

&::-webkit-scrollbar-thumb {
background: $scrollbar-thumb-color;
border: 1px solid $scrollbar-track-color;
border-radius: 100vw;
}

@supports (scrollbar-color: red blue) {
scrollbar-color: $scrollbar-thumb-color $scrollbar-track-color;
scrollbar-width: thin;
}
}
}

Expand Down

0 comments on commit 1e29deb

Please sign in to comment.