Preferences: Fix overflow at small window sizes (#3916)

This commit is contained in:
Abe Jellinek 2024-04-02 16:16:05 -04:00 committed by GitHub
parent 5242851421
commit ad661e9c8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View file

@ -54,9 +54,8 @@
<groupbox>
<label><html:h2>&zotero.preferences.attachmentBaseDir.caption;</html:h2></label>
<!-- This doesn't wrap without an explicit width -->
<vbox>
<description style="width: 45em;">&zotero.preferences.attachmentBaseDir.message;</description>
<description>&zotero.preferences.attachmentBaseDir.message;</description>
</vbox>
<hbox align="center">

View file

@ -175,7 +175,6 @@ ZoteroPluginInstaller.prototype = {
groupbox.appendChild(label);
var description = document.createXULElement("description");
description.style.width = "45em";
description.appendChild(document.createTextNode(
isInstalled ?
Zotero.getString('zotero.preferences.wordProcessors.installed', this._addon.APP) :