From c0f6671542af62a47b94e8138c4f6db633ae8967 Mon Sep 17 00:00:00 2001 From: abaevbog Date: Thu, 11 Jul 2024 21:55:49 -0700 Subject: [PATCH] fixes to saved search dialog layout (#4378) - remove padding between the and the window edges - explicit width for all zoterosearch fields because otherwise a menulist with a long content (e.g. longer collection name) name can push the + and - buttons outside of the window Fixes: #4374 --- chrome/content/zotero/searchDialog.xhtml | 3 +-- scss/elements/_zoteroSearch.scss | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/chrome/content/zotero/searchDialog.xhtml b/chrome/content/zotero/searchDialog.xhtml index 91da62bec6..2cba946f67 100644 --- a/chrome/content/zotero/searchDialog.xhtml +++ b/chrome/content/zotero/searchDialog.xhtml @@ -13,8 +13,7 @@ onunload="doUnload();" drawintitlebar-platforms="mac" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" - xmlns:html="http://www.w3.org/1999/xhtml" - style="padding:2em"> + xmlns:html="http://www.w3.org/1999/xhtml"> diff --git a/scss/elements/_zoteroSearch.scss b/scss/elements/_zoteroSearch.scss index 5a23478bdc..3e1eae1f3e 100644 --- a/scss/elements/_zoteroSearch.scss +++ b/scss/elements/_zoteroSearch.scss @@ -46,11 +46,11 @@ zoterosearch { } #conditionsmenu { - min-width: 15em; + width: 15em; } - #operatorsmenu { - min-width: 13em; + #operatorsmenu, #valuemenu, #valuefield, .search-in-the-last { + width: 12em; } #condition-tooltips tooltip