Move Config Editor button to bottom of Advanced prefpane

This commit is contained in:
Dan Stillman 2023-04-10 06:43:15 -04:00
parent 8b2362a84e
commit 593b4fd515
2 changed files with 19 additions and 14 deletions

View file

@ -38,20 +38,6 @@
<checkbox label="&zotero.preferences.reportTranslationFailure;" preference="extensions.zotero.reportTranslationFailure" native="true"/>
</groupbox>
<groupbox id="zotero-prefpane-advanced-advancedConfiguration">
<label><html:h2>&zotero.preferences.advanced.advancedConfiguration;</html:h2></label>
<hbox id="zotero-prefpane-advanced-openbuttons" align="center" style="display: block">
<button id="config-editor"
label="&zotero.preferences.configEditor;"
oncommand="Zotero_Preferences.openInViewer('about:config')"/>
<button id="memory-info"
label="Memory Info"
oncommand="Zotero_Preferences.openInViewer('about:memory')"
hidden="true"/>
</hbox>
</groupbox>
</vbox>
<vbox class="main-section">
@ -262,4 +248,16 @@
</vbox>
</groupbox>
</vbox>
<vbox>
<hbox id="zotero-prefpane-advanced-open-buttons" align="center">
<button id="config-editor"
label="&zotero.preferences.configEditor;"
oncommand="Zotero_Preferences.openInViewer('about:config')"/>
<button id="memory-info"
label="Memory Info"
oncommand="Zotero_Preferences.openInViewer('about:memory')"
hidden="true"/>
</hbox>
</vbox>
</vbox>

View file

@ -487,6 +487,13 @@ description label[class=zotero-text-link], label[class=zotero-text-link]
border: none;
}
#zotero-prefpane-advanced-open-buttons {
display: block;
text-align: right;
margin-top: 1em;
margin-bottom: .5em;
}
/* BEGIN 2X BLOCK -- DO NOT EDIT MANUALLY -- USE 2XIZE */
@media (min-resolution: 1.25dppx) {