Skip to content

Commit

Permalink
fix: fix border of horizontal scrollbars
Browse files Browse the repository at this point in the history
  • Loading branch information
marcantondahmen committed May 20, 2021
1 parent 93e795d commit 98f14f5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/sass/_scrollbars.sass
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
background-color: transparent

*::-webkit-scrollbar-track
border-left: 1px solid var(--border)
&:vertical
border-left: 1px solid var(--border)
&:horizontal
border-top: 1px solid var(--border)

*::-webkit-scrollbar-thumb
min-width: 3rem
Expand All @@ -20,7 +23,6 @@

*::-webkit-scrollbar-thumb:hover
background-color: var(--bg-nav-hover)
border-color: transparent

*::-webkit-scrollbar-corner
background-color: transparent
Expand Down

0 comments on commit 98f14f5

Please sign in to comment.