Closed unionepro closed 5 years ago
emm,我猜测是本地启动的服务没有加载到 even.js 这个文件,导致 .responsive-table 类没有加上。发布到 github pages 试试?
这里的确是需要把 .table 提到 .responsive-table 来避免这种问题,你现在有空么?欢迎 PR
发布到github pages还是一样不行。
虽然将.table提出来可以解决问题,但是这样表格就不是responsive了,里面很多其它responsive定义岂不是也没有效果。有没有更好的解决办法?
提出来跟是不是 responsive 没有关系,提出来之后表格的基础样式就不依赖 .responsive-table 了
贴一下 hexo s --debug 访问页面之后的日志?
even.js应该是加载了,因为访问统计之类的功能都是正常的。
那就奇怪了, 等我晚上下班回家再看看吧
等你看吧,我现在不太懂这个。以下是访问日志:
用了这个主题,但是显示出的表格像没有添加任何格式一样。表格的代码如下:
但显示出来的却是如下图这样的,好像没有任何格式设置。试了Safari, Chrome, Firefox都是如此。
看了源代码,发现在样式文件
even/source/css/_partial/_post/_content.scss
中以下内容复制到.responsive-table定义之外可以解决显示问题。这个不知道是代码的问题,还是我哪里出错了?