perf: better table overflow styles

This commit is contained in:
jeffreytse 2020-12-09 12:19:09 +08:00
parent 0cd573d183
commit 523211a98f
2 changed files with 2 additions and 1 deletions

View file

@ -225,11 +225,13 @@ pre {
* Tables
*/
table {
display: block;
margin-bottom: $spacing-unit;
width: 100%;
text-align: $table-text-align;
color: lighten($text-color, 5%);
border-collapse: collapse;
overflow: auto;
tr {
&:nth-child(even) {

View file

@ -389,7 +389,6 @@ html {
.post-content {
margin-bottom: $spacing-unit;
overflow-x: auto;
overflow-wrap: normal;
word-wrap: normal;
word-break: normal;