Set same font size for all platforms and make editor UI a bit smaller (#2171)
* Use single base font size for all platforms * Change 1.6em values to 1.5em in editor
This commit is contained in:
parent
d3309658d3
commit
2a510fe230
@ -44,6 +44,7 @@ html {
|
||||
}
|
||||
|
||||
body {
|
||||
--base-font-size: 13px;
|
||||
overscroll-behavior: none;
|
||||
&:not(.isMac),
|
||||
&:not(.isMac) * {
|
||||
@ -65,18 +66,6 @@ samp {
|
||||
unicode-bidi: normal !important;
|
||||
}
|
||||
|
||||
.isWin {
|
||||
--base-font-size: 12px;
|
||||
}
|
||||
|
||||
.isMac {
|
||||
--base-font-size: 13px;
|
||||
}
|
||||
|
||||
.isLin {
|
||||
--base-font-size: 14px;
|
||||
}
|
||||
|
||||
[dir="rtl"] {
|
||||
.form-select {
|
||||
/* flip <select>'s arrow */
|
||||
|
@ -30,7 +30,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
|
||||
.form-check-input {
|
||||
-webkit-appearance: none;
|
||||
height: 1.6em;
|
||||
height: 1.5em;
|
||||
/* otherwise the switch circle shows slightly off-centered */
|
||||
margin-top: 0;
|
||||
|
||||
|
@ -79,7 +79,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
return fontFamily;
|
||||
}
|
||||
|
||||
const size = 1.6;
|
||||
const size = 1.5;
|
||||
const wrap = true;
|
||||
|
||||
const fieldStores: Writable<string>[] = [];
|
||||
|
@ -27,7 +27,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
const dispatch = createEventDispatcher();
|
||||
</script>
|
||||
|
||||
<ButtonGroup size={1.6} wrap={false}>
|
||||
<ButtonGroup size={1.5} wrap={false}>
|
||||
<IconButton
|
||||
tooltip={tr.editingFloatLeft()}
|
||||
active={floatStyle === "left"}
|
||||
|
@ -22,7 +22,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
const dispatch = createEventDispatcher();
|
||||
</script>
|
||||
|
||||
<ButtonGroup size={1.6}>
|
||||
<ButtonGroup size={1.5}>
|
||||
<IconButton
|
||||
disabled={shrinkingDisabled}
|
||||
flipX={$direction === "rtl"}
|
||||
|
@ -17,7 +17,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
const dispatch = createEventDispatcher();
|
||||
</script>
|
||||
|
||||
<ButtonToolbar size={1.6} wrap={false}>
|
||||
<ButtonToolbar size={1.5} wrap={false}>
|
||||
<ButtonGroup>
|
||||
<IconButton
|
||||
tooltip={tr.editingMathjaxInline()}
|
||||
|
Loading…
Reference in New Issue
Block a user