summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-09-18 23:39:28 +0800
committerEltrac Koalar <hi@guhub.cn>2022-09-18 23:39:28 +0800
commitc63879e641e2f111802d47158ffe48eff74b41a2 (patch)
tree7261fd71371fca987f6921e1c0fd1962fcfa1513 /includes
parent9328289c964b0f8891886ef7784e09e87b38eefa (diff)
:dizzy: Perf: 优化专注模式
添加了固定位置的开关,中等屏幕上打开专注模式会使页面主体居中
Diffstat (limited to 'includes')
-rw-r--r--includes/footer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/footer.php b/includes/footer.php
index 8ea1e2d..30fda5a 100644
--- a/includes/footer.php
+++ b/includes/footer.php
@@ -3,7 +3,8 @@
&copy; <?php Matcha::copyrightYear(); ?> <a href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title(); ?></a>.
<?php Matcha::footerInfo(); ?>
<!-- 返回顶部按钮 -->
- <button id="back2top" title="返沪顶部"><span class="iconfont">&#xe749;</span></button>
+ <button id="back2top" title="返回顶部"><span class="iconfont">&#xe749;</span></button>
+ <button class="focus-mode-btn" id="focus-mode-close" title="专注模式"><span class="iconfont">&#xe869;</span></button>
</footer>
</div>
</div>