Skip to content

Commit

Permalink
Merge pull request 'fix bug 70677' (#60) from fix/bug-70677 into rele…
Browse files Browse the repository at this point in the history
…ase/v8.2.0
  • Loading branch information
Julia Radzhabova committed Oct 7, 2024
2 parents a26f960 + 58b5380 commit b22a213
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
4 changes: 2 additions & 2 deletions apps/common/main/lib/mods/perfect-scrollbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@

var $scrollbarXRail = $("<div class='ps-scrollbar-x-rail'></div>").appendTo($this),
$scrollbarYRail = $("<div class='ps-scrollbar-y-rail'></div>").appendTo($this),
$scrollbarX = $("<div class='ps-scrollbar-x'><span></span></div>").appendTo($scrollbarXRail),
$scrollbarY = $("<div class='ps-scrollbar-y'><span></span></div>").appendTo($scrollbarYRail),
$scrollbarX = $("<div class='ps-scrollbar-x'><div></div></div>").appendTo($scrollbarXRail),
$scrollbarY = $("<div class='ps-scrollbar-y'><div></div></div>").appendTo($scrollbarYRail),
scrollbarXActive,
scrollbarYActive,
containerWidth,
Expand Down
30 changes: 22 additions & 8 deletions apps/common/main/resources/less/scroller.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
background-color: @background-toolbar-ie;
background-color: @background-toolbar;

span {
div {
display: block;
height: 100%;

Expand Down 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;

span {
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;

span {
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 @@ -134,7 +142,7 @@
background-color: @background-toolbar-ie;
background-color: @background-toolbar;

span {
div {
display: block;
height: 100%;

Expand Down Expand Up @@ -194,7 +202,12 @@
background-color: @canvas-scroll-thumb-hover-ie;
background-color: @canvas-scroll-thumb-hover;

span {
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 @@ -214,7 +227,8 @@
border-color: @canvas-scroll-thumb-border-hover-ie;
border-color: @canvas-scroll-thumb-border-hover;

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

0 comments on commit b22a213

Please sign in to comment.