修了放大字体部分与黑白主题切换在小屏幕会和标题重合的问题(again

This commit is contained in:
fly316 2025-06-10 13:39:26 +08:00
parent 2df17f5447
commit 8c33942a7d

View File

@ -149,7 +149,7 @@ styleInject(css);
function install(hook, vm) {
hook.afterEach(function (html) {
const savedSize = localStorage.getItem('font-size') || 15;
const savedSize = localStorage.getItem('font-size') || 17;
const lang = document.documentElement.lang;
const fontSizeText = lang === 'zh' ? `当前字体大小: ${savedSize}px` : `Font size: ${savedSize}px`;
var fontSizeButtons = `