Skip to content

Commit

Permalink
Merge pull request #12805 from Snuffleupagus/rm-CSS-button-image-tran…
Browse files Browse the repository at this point in the history
…sform

Remove unnecessary toolbarButton icon-flipping in RTL mode (PR 11077 follow-up)
  • Loading branch information
timvandermeij authored Jan 3, 2021
2 parents c3e02b3 + 5cb31a7 commit 4d643b8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions web/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -1000,33 +1000,21 @@ html[dir="rtl"] .toolbarButton#secondaryToolbarToggle::before {
-webkit-mask-image: var(--findbarButton-previous-icon);
mask-image: var(--findbarButton-previous-icon);
}
html[dir="rtl"] .toolbarButton.findPrevious::before {
transform: scaleX(-1);
}

.toolbarButton.findNext::before {
-webkit-mask-image: var(--findbarButton-next-icon);
mask-image: var(--findbarButton-next-icon);
}
html[dir="rtl"] .toolbarButton.findNext::before {
transform: scaleX(-1);
}

.toolbarButton.pageUp::before {
-webkit-mask-image: var(--toolbarButton-pageUp-icon);
mask-image: var(--toolbarButton-pageUp-icon);
}
html[dir="rtl"] .toolbarButton.pageUp::before {
transform: scaleX(-1);
}

.toolbarButton.pageDown::before {
-webkit-mask-image: var(--toolbarButton-pageDown-icon);
mask-image: var(--toolbarButton-pageDown-icon);
}
html[dir="rtl"] .toolbarButton.pageDown::before {
transform: scaleX(-1);
}

.toolbarButton.zoomOut::before {
-webkit-mask-image: var(--toolbarButton-zoomOut-icon);
Expand Down

0 comments on commit 4d643b8

Please sign in to comment.