Font size setting
This commit is contained in:
parent
a59e1c0345
commit
d21d38509c
5 changed files with 38 additions and 0 deletions
|
|
@ -48,6 +48,11 @@ html
|
|||
}
|
||||
}
|
||||
|
||||
const fontSize = localStorage.getItem('fontSize');
|
||||
if (fontSize) {
|
||||
document.documentElement.classList.add('f-' + fontSize);
|
||||
}
|
||||
|
||||
body
|
||||
noscript: p
|
||||
| JavaScriptを有効にしてください
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue