Skip to content

Commit

Permalink
fix: scrollbar hover colors
Browse files Browse the repository at this point in the history
  • Loading branch information
sekiju committed Oct 7, 2024
1 parent 80c658b commit 58b5380
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions apps/common/main/resources/less/scroller.less
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,13 @@
&.always-visible-x {
background-color: @canvas-scroll-thumb-hover-ie;
background-color: @canvas-scroll-thumb-hover;
background-position: center -7px;

div {
background-position: center -7px;
.pixel-ratio__1_75 & {
background-position: center -6px;
}

.pixel-ratio__2_5 & {
background-color: @canvas-scroll-arrow-hover;
}
Expand All @@ -100,9 +104,13 @@
background-color: @canvas-scroll-thumb-hover;
border-color: @canvas-scroll-thumb-border-hover-ie;
border-color: @canvas-scroll-thumb-border-hover;
background-position: center -7px;

div {
background-position: center -7px;
.pixel-ratio__1_75 & {
background-position: center -6px;
}

.pixel-ratio__2_5 & {
background-color: @canvas-scroll-arrow-hover;
}
Expand Down Expand Up @@ -195,6 +203,11 @@
background-color: @canvas-scroll-thumb-hover;

div {
background-position: -7px center;
.pixel-ratio__1_75 & {
background-position: -6px center;
}

.pixel-ratio__2_5 & {
background-color: @canvas-scroll-arrow-hover;
}
Expand All @@ -215,6 +228,7 @@
border-color: @canvas-scroll-thumb-border-hover;

div {
background-position: -7px center;
.pixel-ratio__2_5 & {
background-color: @canvas-scroll-arrow-hover;
}
Expand Down

0 comments on commit 58b5380

Please sign in to comment.