fixes to saved search dialog layout (#4378)

- remove padding between the <dialog> 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
This commit is contained in:
abaevbog 2024-07-11 21:55:49 -07:00 committed by GitHub
parent f387c67fbc
commit c0f6671542
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 5 deletions

View file

@ -13,8 +13,7 @@
onunload="doUnload();" onunload="doUnload();"
drawintitlebar-platforms="mac" drawintitlebar-platforms="mac"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml">
style="padding:2em">
<dialog <dialog
id="zotero-search-dialog" id="zotero-search-dialog"
buttons="cancel,accept"> buttons="cancel,accept">

View file

@ -46,11 +46,11 @@ zoterosearch {
} }
#conditionsmenu { #conditionsmenu {
min-width: 15em; width: 15em;
} }
#operatorsmenu { #operatorsmenu, #valuemenu, #valuefield, .search-in-the-last {
min-width: 13em; width: 12em;
} }
#condition-tooltips tooltip #condition-tooltips tooltip