-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hexo 编译后的表格没办法使用 markdown的语法标注文字对齐 #663
Comments
只能自定义设置强制样式覆盖了 |
我有一个mr #664 就去掉了里面依赖库的一个样式,把这个问题解决了 |
下,添加样式表强指了: /* 表格居中 */
td,
th {
[padding](https://webplatform.github.io/docs/css/properties/padding): 15px 5px;
[display](https://webplatform.github.io/docs/css/properties/display): table-cell;
[text-align](https://webplatform.github.io/docs/css/properties/text-align): center;
[vertical-align](https://webplatform.github.io/docs/css/properties/vertical-align): middle;
[border-radius](https://webplatform.github.io/docs/css/properties/border-radius): 0
}
#articleContent table {
[display](https://webplatform.github.io/docs/css/properties/display): table;
[width](https://webplatform.github.io/docs/css/properties/width): 100%;
[border-collapse](https://webplatform.github.io/docs/css/properties/border-collapse): collapse;
[border-spacing](https://webplatform.github.io/docs/css/properties/border-spacing): 0;
[overflow](https://webplatform.github.io/docs/css/properties/overflow): auto;
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在
materialize.min.css
中的td, th
css 样式中覆盖了下面的attribute中的text_align
样式。The text was updated successfully, but these errors were encountered: