Open Yafine opened 4 years ago
关于该问题的解决方案我已经提交了Pull Request #383 ,你可以通过下面的方法先解决这个问题:
在themes/hexo-theme-matery/layout/_partial
下找到gittalk.ejs
,gitment.ejs
,valine.ejs
其中的一个文件,对应你博客使用的评论的具体实现,在文件内查找comment_headling
,会找到下面这样的一行代码:
<div class="comment_headling" style="font-size: 20px; font-weight: 700; position: relative; left: 20px; top: 15px; padding-bottom: 5px;">
将其中的left: 20px;
改为padding-left: 20px;
即可解决该问题
20p
你这不行,在语法上不符合规则
开启评论后,打开一篇文章,在手机端可以向两边滑动,不开启评论就没事
另外还有这个问题,不开启toc目录,鼠标hover上去会出现滚动条