mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-02 19:56:44 -06:00
fix
This commit is contained in:
parent
b92aca60c1
commit
9bd99b2702
3 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ async function main() {
|
|||
}
|
||||
//#endregion
|
||||
|
||||
const fontSize = localStorage.getItem('fontSize') ?? 2;
|
||||
const fontSize = localStorage.getItem('fontSize') ?? 1;
|
||||
if (fontSize) {
|
||||
document.documentElement.classList.add('f-' + fontSize);
|
||||
}
|
||||
|
|
|
@ -110,7 +110,7 @@ import FormSection from '@/components/form/section.vue';
|
|||
const defaultFont = getDefaultFontSettings();
|
||||
console.log(defaultFont);
|
||||
|
||||
const fontSizeNumber = ref(Number(miLocalStorage.getItem('fontSize') ?? 2));
|
||||
const fontSizeNumber = ref(Number(miLocalStorage.getItem('fontSize') ?? 1));
|
||||
const fontSizeNumberOld = ref(fontSizeNumber.value);
|
||||
|
||||
const fontSizePx = computed(() => fontSizeNumber.value + 14);
|
||||
|
|
|
@ -42,7 +42,7 @@ html {
|
|||
overflow: auto;
|
||||
overflow-wrap: break-word;
|
||||
font-family: 'Lexend', 'Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
font-size: 15px;
|
||||
line-height: 1.35;
|
||||
text-size-adjust: 100%;
|
||||
tab-size: 2;
|
||||
|
|
Loading…
Reference in a new issue