From ec7251fd98249064cff3e4b78529f6eb9be7e0d2 Mon Sep 17 00:00:00 2001 From: Martynas Bagdonas Date: Tue, 23 Mar 2021 18:04:38 +0200 Subject: [PATCH] Fix tab toolbar button icon scaling on HiDPI --- chrome/content/zotero-platform/unix/overlay.css | 2 +- chrome/content/zotero-platform/win/overlay.css | 2 +- chrome/skin/default/zotero/contextPane.css | 5 ++++- pdf-reader | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/chrome/content/zotero-platform/unix/overlay.css b/chrome/content/zotero-platform/unix/overlay.css index 50aee11669..dd0be502f5 100644 --- a/chrome/content/zotero-platform/unix/overlay.css +++ b/chrome/content/zotero-platform/unix/overlay.css @@ -18,7 +18,7 @@ @media (min-resolution: 1.25dppx) { - #zotero-pane .toolbarbutton-icon { + #zotero-pane-stack .toolbarbutton-icon { width: 16px; } diff --git a/chrome/content/zotero-platform/win/overlay.css b/chrome/content/zotero-platform/win/overlay.css index 7f2044a975..b378b30dd4 100644 --- a/chrome/content/zotero-platform/win/overlay.css +++ b/chrome/content/zotero-platform/win/overlay.css @@ -15,7 +15,7 @@ @media (min-resolution: 1.25dppx) { - #zotero-toolbar .toolbarbutton-icon { + #zotero-pane-stack .toolbarbutton-icon { width: 16px; } diff --git a/chrome/skin/default/zotero/contextPane.css b/chrome/skin/default/zotero/contextPane.css index d7bcd5f787..cf5a8c812d 100644 --- a/chrome/skin/default/zotero/contextPane.css +++ b/chrome/skin/default/zotero/contextPane.css @@ -47,11 +47,14 @@ position: fixed; z-index: 1; right: 0; - height: 32px; -moz-appearance: none; background: linear-gradient(to top, #a9a9a9 0, #a9a9a9 1px, #f6f6f6 1px, #f6f6f6 100%); } +#zotero-item-toolbar { + height: 32px; +} + #zotero-tab-toolbar-container #zotero-tb-locate, #zotero-tab-toolbar-container #zotero-pq-buttons { display: none; diff --git a/pdf-reader b/pdf-reader index 6bd430bc2d..a1b5c19124 160000 --- a/pdf-reader +++ b/pdf-reader @@ -1 +1 @@ -Subproject commit 6bd430bc2d538d11c73a81b7cf2f11771b518b24 +Subproject commit a1b5c191245c51024fd177f74139cc7495a22524