Skip to content

Commit

Permalink
Fix thin scrollbar being applied to entire site (internetarchive#8855)
Browse files Browse the repository at this point in the history
* Fix thin scrollbar being applied to entire site

This css was leaking and applying to the entire site. We don't want thin scrollbars everywhere.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and merwhite11 committed Mar 26, 2024
1 parent ed443c4 commit d806579
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions static/css/components/tagging-menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,24 @@
// Menu option containers:
.selection-container {
height: 266px;
overflow-y: scroll;
overflow-y: auto;

.subjects-search-results,
.selected-tag-subjects {
padding: 0 5px;
}
}

::-webkit-scrollbar {
-webkit-appearance: none;
background-color: @lighter-grey;
width: 5px;
}
&::-webkit-scrollbar {
-webkit-appearance: none;
background-color: @lighter-grey;
width: 5px;
}

::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: @grey;
-webkit-box-shadow: 0 0 1px @grey;
&::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: @grey;
-webkit-box-shadow: 0 0 1px @grey;
}
}

.search-subject-row {
Expand Down

0 comments on commit d806579

Please sign in to comment.