Fix font size and language switcher?

merge-requests/1931/head
Henry Jameson 2 months ago
parent 7a7d80270d
commit 0ca9a2c8c0

@ -3,7 +3,6 @@
@import "./panel"; @import "./panel";
:root { :root {
--font-size: 14px;
--status-margin: 0.75em; --status-margin: 0.75em;
--navbar-height: 3.5rem; --navbar-height: 3.5rem;
--post-line-height: 1.4; --post-line-height: 1.4;
@ -20,7 +19,7 @@
} }
html { html {
font-size: var(--font-size); font-size: var(--font-size, 14px);
// overflow-x: clip causes my browser's tab to crash with SIGILL lul // overflow-x: clip causes my browser's tab to crash with SIGILL lul
} }

@ -78,6 +78,7 @@ export default {
}, },
set: function (val) { set: function (val) {
this.setLanguage(val) this.setLanguage(val)
this.$emit('update:modelValue', val)
} }
} }
}, },

Loading…
Cancel
Save