Browse Source

Merge pull request #5749 from jayphelps/scrollbar

Fix horizontal scrollbar height, closes #5728
pull/5603/merge
Jack Lukic 7 years ago
committed by GitHub
parent
commit
6b3dbcd188
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions
  1. 1
      src/definitions/globals/site.less
  2. 1
      src/themes/default/globals/site.variables

1
src/definitions/globals/site.less

@ -135,6 +135,7 @@ a:hover {
body ::-webkit-scrollbar {
-webkit-appearance: none;
width: @customScrollbarWidth;
height: @customScrollbarHeight;
}
body ::-webkit-scrollbar-track {
background: @trackBackground;

1
src/themes/default/globals/site.variables

@ -146,6 +146,7 @@
@useCustomScrollbars: true;
@customScrollbarWidth: 10px;
@customScrollbarHeight: 10px;
@trackBackground: rgba(0, 0, 0, 0.1);
@trackBorderRadius: 0px;

Loading…
Cancel
Save