From e99f76b40c9e42c9e4fd54fc562184d8c68febc7 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 21 Sep 2020 05:50:00 -0400 Subject: [PATCH] Tab bar: Update styling on macOS --- chrome/content/zotero/components/tabBar.jsx | 8 ++++-- .../content/zotero/standalone/standalone.xul | 2 +- chrome/skin/default/zotero/overlay.css | 4 +-- scss/components/_mainWindow.scss | 20 ++++++++++++++ scss/components/_tabBar.scss | 12 ++++++--- scss/mac/_mainWindow.scss | 3 +++ scss/mac/_tabBar.scss | 26 +++++++++++++++++-- scss/themes/_light.scss | 8 ++++++ scss/zotero-react-client-mac.scss | 1 + 9 files changed, 72 insertions(+), 12 deletions(-) create mode 100644 scss/mac/_mainWindow.scss diff --git a/chrome/content/zotero/components/tabBar.jsx b/chrome/content/zotero/components/tabBar.jsx index e47329c502..593e0f3289 100644 --- a/chrome/content/zotero/components/tabBar.jsx +++ b/chrome/content/zotero/components/tabBar.jsx @@ -128,7 +128,7 @@ const TabBar = forwardRef(function (props, ref) { className="tab-close" onClick={(event) => handleTabClose(event, index)} > - X + x ); @@ -136,7 +136,11 @@ const TabBar = forwardRef(function (props, ref) { return (
- { tabs.map((tab, index) => renderTab(tab, index)) } +
+
+ { tabs.map((tab, index) => renderTab(tab, index)) } +
+
); }); diff --git a/chrome/content/zotero/standalone/standalone.xul b/chrome/content/zotero/standalone/standalone.xul index 712511567c..c80ce2f14e 100644 --- a/chrome/content/zotero/standalone/standalone.xul +++ b/chrome/content/zotero/standalone/standalone.xul @@ -124,7 +124,7 @@ - +