Fix issues in filename renaming preferences pane. Fix #4291

* Fix template and preview overflowing container
* Fix extra whitespace around "documentation" link
* Increase minimal height of the template input field
This commit is contained in:
Tom Najdek 2024-06-28 14:54:52 +02:00
parent 6942506eba
commit c7d816783b
No known key found for this signature in database
GPG key ID: EEC61A7B4C667D77
2 changed files with 5 additions and 6 deletions

View file

@ -226,7 +226,7 @@ window[windowtype="zotero:pref"] {
min-width: 600px; min-width: 600px;
} }
label { label:not([is=zotero-text-link]) {
/* Apply XUL label styles to all labels */ /* Apply XUL label styles to all labels */
margin-block: 1px 2px; margin-block: 1px 2px;
margin-inline: 6px 5px; margin-inline: 6px 5px;
@ -259,8 +259,9 @@ menulist[disabled="true"] {
} }
/* Links within messages */ /* Links within messages */
description label[class=zotero-text-link], label[class=zotero-text-link] description label[class=zotero-text-link],
{ label[class=zotero-text-link],
label[is=zotero-text-link] {
margin: 0; margin: 0;
} }

View file

@ -7,8 +7,7 @@
} }
#file-renaming-format-template { #file-renaming-format-template {
width: 100%; min-height: 3.25em;
min-height: 1.25em;
padding: 0.4em; padding: 0.4em;
/* Match label margins */ /* Match label margins */
margin-block: 1px 2px; margin-block: 1px 2px;
@ -16,6 +15,5 @@
} }
#file-renaming-format-preview { #file-renaming-format-preview {
width: 100%;
padding: 0.4em; padding: 0.4em;
} }