Fix huge Scaffold toolbar icons on Win/Linux
This commit is contained in:
parent
c510d91461
commit
fbaa1c6e61
2 changed files with 12 additions and 3 deletions
|
@ -78,10 +78,10 @@ var Scaffold = new function () {
|
|||
if (e.target !== document) return;
|
||||
_document = document;
|
||||
|
||||
if (Zotero.isWin) {
|
||||
// Hack to fix Windows toolbar
|
||||
if (!Zotero.isMac) {
|
||||
// Hack to fix Windows/Linux toolbar
|
||||
let toolbar = document.getElementById('zotero-toolbar');
|
||||
toolbar.className = '';
|
||||
toolbar.className = 'toolbar-scaffold-small';
|
||||
}
|
||||
|
||||
_browser = document.getElementById('browser');
|
||||
|
|
|
@ -74,6 +74,15 @@ listbox {
|
|||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
#zotero-toolbar.toolbar-scaffold-small {
|
||||
-moz-appearance: none !important;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
#zotero-toolbar.toolbar-scaffold-small .toolbarbutton-icon {
|
||||
max-width: 16px;
|
||||
}
|
||||
|
||||
#zotero-toolbar toolbarseparator {
|
||||
height: 18px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue