commit: 0ca9a2c8c0d04b3468c93de4a53fac8197581d8b
parent 7a7d80270d1ae041f06c1fd9017135cb5b8c34d6
Author: Henry Jameson <me@hjkos.com>
Date:   Thu, 25 Jul 2024 11:49:18 +0300
Fix font size and language switcher?
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/App.scss b/src/App.scss
@@ -3,7 +3,6 @@
 @import "./panel";
 
 :root {
-  --font-size: 14px;
   --status-margin: 0.75em;
   --navbar-height: 3.5rem;
   --post-line-height: 1.4;
@@ -20,7 +19,7 @@
 }
 
 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
 }
 
diff --git a/src/components/interface_language_switcher/interface_language_switcher.vue b/src/components/interface_language_switcher/interface_language_switcher.vue
@@ -78,6 +78,7 @@ export default {
       },
       set: function (val) {
         this.setLanguage(val)
+        this.$emit('update:modelValue', val)
       }
     }
   },