Skip to content

Commit

Permalink
Merge pull request #441 from StackExchange/feature/scrolling-refinements
Browse files Browse the repository at this point in the history
Refine scrollbar normalization
  • Loading branch information
aaronshekey authored Feb 11, 2020
2 parents 1cde06b + e139c3f commit a7d3c05
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lib/css/exports/_stacks-constants-helpers.less
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,18 @@
// ----------------------------------------------------------------------------
@scrollbar-styles: {
&::-webkit-scrollbar {
width: @su8;
height: @su8;
width: @su12 - @su2;
height: @su12 - @su2;
background-color: transparent;
}

&::-webkit-scrollbar-track {
border-radius: @su8;
border-radius: @su12 - @su2;
background-color: transparent;
}

&::-webkit-scrollbar-thumb {
border-radius: @su8;
border-radius: @su12 - @su2;
background-color: var(--scrollbar);
}

Expand All @@ -122,5 +122,4 @@
}

scrollbar-color: var(--scrollbar) transparent;
scrollbar-width: thin;
}

0 comments on commit a7d3c05

Please sign in to comment.