mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 18:25:37 +02:00
Merge pull request #4477 from yurydelendik/chromehidpi
Fixes HiDPI icons of the secondary toolbar for Chrome
This commit is contained in:
commit
adb9af7b8e
1 changed files with 2 additions and 1 deletions
|
@ -1619,12 +1619,13 @@ html[dir='rtl'] #documentPropertiesContainer .row > * {
|
||||||
@media screen and (min-resolution: 2dppx) {
|
@media screen and (min-resolution: 2dppx) {
|
||||||
/* Rules for Retina screens */
|
/* Rules for Retina screens */
|
||||||
.toolbarButton::before {
|
.toolbarButton::before {
|
||||||
transform: scale(0.5);
|
|
||||||
-webkit-transform: scale(0.5);
|
-webkit-transform: scale(0.5);
|
||||||
|
transform: scale(0.5);
|
||||||
top: -5px;
|
top: -5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondaryToolbarButton::before {
|
.secondaryToolbarButton::before {
|
||||||
|
-webkit-transform: scale(0.5);
|
||||||
transform: scale(0.5);
|
transform: scale(0.5);
|
||||||
top: -4px;
|
top: -4px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue