mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-03 15:46:43 -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
|
//#endregion
|
||||||
|
|
||||||
const fontSize = localStorage.getItem('fontSize') ?? 2;
|
const fontSize = localStorage.getItem('fontSize') ?? 1;
|
||||||
if (fontSize) {
|
if (fontSize) {
|
||||||
document.documentElement.classList.add('f-' + fontSize);
|
document.documentElement.classList.add('f-' + fontSize);
|
||||||
}
|
}
|
||||||
|
|
|
@ -110,7 +110,7 @@ import FormSection from '@/components/form/section.vue';
|
||||||
const defaultFont = getDefaultFontSettings();
|
const defaultFont = getDefaultFontSettings();
|
||||||
console.log(defaultFont);
|
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 fontSizeNumberOld = ref(fontSizeNumber.value);
|
||||||
|
|
||||||
const fontSizePx = computed(() => fontSizeNumber.value + 14);
|
const fontSizePx = computed(() => fontSizeNumber.value + 14);
|
||||||
|
|
|
@ -42,7 +42,7 @@ html {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
font-family: 'Lexend', 'Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif;
|
font-family: 'Lexend', 'Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif;
|
||||||
font-size: 16px;
|
font-size: 15px;
|
||||||
line-height: 1.35;
|
line-height: 1.35;
|
||||||
text-size-adjust: 100%;
|
text-size-adjust: 100%;
|
||||||
tab-size: 2;
|
tab-size: 2;
|
||||||
|
|
Loading…
Reference in a new issue