1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-21 17:39:24 -05:00

tweak default font size

This commit is contained in:
fly_mc 2024-10-25 22:56:03 +08:00
parent b986bde0a3
commit 4cfc6d0e2c
3 changed files with 3 additions and 3 deletions
packages
backend/src/server/web
frontend/src

View file

@ -117,7 +117,7 @@
}
//#endregion
const fontSize = localStorage.getItem('fontSize') || 2;
const fontSize = localStorage.getItem('fontSize') || 1;
if (fontSize) {
document.documentElement.classList.add('f-' + fontSize);
}

View file

@ -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);
}

View file

@ -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: 14px;
font-size: 15px;
line-height: 1.35;
text-size-adjust: 100%;
tab-size: 2;