Skip to content

Commit

Permalink
Set a minimum width/height for the scrollbar slider (Linux only)
Browse files Browse the repository at this point in the history
This is a workaround for some GTK themes with missing scrollbar buttons
  • Loading branch information
fofajardo committed Feb 1, 2021
1 parent 4e6cd4c commit 0a138ee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/chrome/os_target/linux/scrollbars.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ scrollbar {
}
}

scrollbar[orient="vertical"]
{
scrollbar[orient="vertical"] {
-moz-appearance: none;
}

Expand All @@ -48,12 +47,15 @@ scrollbarbutton {
}

/* ::::: slider - a thumb is inside ::::: */
slider {

slider[orient="vertical"] {
-moz-appearance: none;
min-width: 16px;
}

slider[orient="vertical"] {
slider[orient="horizontal"] {
-moz-appearance: none;
min-height: 16px;
}

/* ::::: thumb (horizontal) ::::: */
Expand Down

0 comments on commit 0a138ee

Please sign in to comment.