feat: 右下角增加字體調整按鈕

fix: 修復沒有滾動條時,右下角按鈕顯示問題  close #439
remove: 刪除ICP配置, 如需要,請使用custom_text配置 close #435
This commit is contained in:
Jerry
2020-12-09 15:58:58 +08:00
Unverified
parent 02af3077e7
commit 3a1ed95c32
11 changed files with 60 additions and 43 deletions

View File

@@ -60,6 +60,12 @@ script
| document.documentElement.classList.remove('hide-aside')
| }
| }
if theme.change_font_size
| const fontSizeVal = saveToLocal.get('global-font-size')
| if (fontSizeVal !== undefined) {
| document.documentElement.style.setProperty('--global-font-size', fontSizeVal + 'px')
| }
| })()