修了放大字体部分与黑白主题切换在小屏幕会和标题重合的问题(again
This commit is contained in:
parent
2df17f5447
commit
8c33942a7d
@ -149,7 +149,7 @@ styleInject(css);
|
|||||||
|
|
||||||
function install(hook, vm) {
|
function install(hook, vm) {
|
||||||
hook.afterEach(function (html) {
|
hook.afterEach(function (html) {
|
||||||
const savedSize = localStorage.getItem('font-size') || 15;
|
const savedSize = localStorage.getItem('font-size') || 17;
|
||||||
const lang = document.documentElement.lang;
|
const lang = document.documentElement.lang;
|
||||||
const fontSizeText = lang === 'zh' ? `当前字体大小: ${savedSize}px` : `Font size: ${savedSize}px`;
|
const fontSizeText = lang === 'zh' ? `当前字体大小: ${savedSize}px` : `Font size: ${savedSize}px`;
|
||||||
var fontSizeButtons = `
|
var fontSizeButtons = `
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user