From f0de6d0d57385c29525484b17f990e6ace53282f Mon Sep 17 00:00:00 2001 From: Tom Najdek Date: Fri, 12 Jan 2024 14:03:30 +0100 Subject: [PATCH] Tweak spacing in select items dialog --- chrome/content/zotero/selectItemsDialog.xhtml | 102 +++++++++--------- scss/_zotero.scss | 1 + scss/components/_selectItemsDialog.scss | 28 +++++ 3 files changed, 77 insertions(+), 54 deletions(-) create mode 100644 scss/components/_selectItemsDialog.scss diff --git a/chrome/content/zotero/selectItemsDialog.xhtml b/chrome/content/zotero/selectItemsDialog.xhtml index 703d77b86c..6729d16c85 100644 --- a/chrome/content/zotero/selectItemsDialog.xhtml +++ b/chrome/content/zotero/selectItemsDialog.xhtml @@ -1,27 +1,27 @@  @@ -43,38 +43,32 @@ persist="screenX screenY width height" style="display: flex" > - - - - - - - - - - - - - - - - - - + + + + + + + + + - + + + + + + \ No newline at end of file diff --git a/scss/_zotero.scss b/scss/_zotero.scss index 0aa566bb51..c68aba55cc 100644 --- a/scss/_zotero.scss +++ b/scss/_zotero.scss @@ -41,6 +41,7 @@ @import "components/publications-dialog"; @import "components/rtfScan.scss"; @import "components/search"; +@import "components/selectItemsDialog"; @import "components/spinner"; @import "components/syncButtonTooltip"; @import "components/tabBar"; diff --git a/scss/components/_selectItemsDialog.scss b/scss/components/_selectItemsDialog.scss new file mode 100644 index 0000000000..3301d024dd --- /dev/null +++ b/scss/components/_selectItemsDialog.scss @@ -0,0 +1,28 @@ +#select-items-dialog { + padding: 2em; + + #zotero-select-items-container { + display: flex; + flex-direction: column; + gap: 8px; + } + + #zotero-collections-tree-container { + min-width: 200px; + } + + #search-toolbar { + display: flex; + flex-direction: row; + justify-content: flex-end; + } + + #search-toolbar { + flex: 0 0 auto; + } + + #collections-items-container { + flex: 1 1 auto; + margin-bottom: 8px; + } +} \ No newline at end of file