Make clicky item icons match line height
This commit is contained in:
parent
40cc55757b
commit
37d2b41778
3 changed files with 4 additions and 2 deletions
|
@ -54,7 +54,9 @@ Zotero.UIProperties = new class {
|
|||
|
||||
_setFontSize(root) {
|
||||
let size = Zotero.Prefs.get('fontSize');
|
||||
root.style.fontSize = root.style['--zotero-font-size'] = size + 'em';
|
||||
let sizeCSS = size + 'rem';
|
||||
root.style.fontSize = sizeCSS;
|
||||
root.style.setProperty('--zotero-font-size', sizeCSS);
|
||||
if (size <= 1) {
|
||||
size = 'small';
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
font-family: system-ui, -apple-system, sans-serif;
|
||||
font-size: 13px;
|
||||
font-style: normal;
|
||||
line-height: 1.3333333333;
|
||||
@media (-moz-platform: windows) {
|
||||
--color-accent: var(--accent-blue);
|
||||
@include light-dark(--color-focus-border, #000, #fff);
|
||||
|
|
|
@ -39,7 +39,6 @@ libraries-collections-box {
|
|||
|
||||
.icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue