Make table horizontal scroll (#206)

This commit is contained in:
Cotes Chung 2020-12-14 01:54:29 +08:00
parent d61446fafc
commit d70354021c
2 changed files with 1 additions and 7 deletions

View file

@ -1033,13 +1033,6 @@ div.post-content .table-wrapper {
@include ml-mr(1.8rem); @include ml-mr(1.8rem);
} }
/* table text in small screens */
div > table, p ~ table {
width: 100%;
table-layout: fixed;
word-wrap: break-word;
}
#main-wrapper { #main-wrapper {
padding-bottom: $footer-height; padding-bottom: $footer-height;
} }

View file

@ -17,6 +17,7 @@
%table-cell { %table-cell {
padding: 0.4rem 1rem; padding: 0.4rem 1rem;
font-size: 95%; font-size: 95%;
white-space: nowrap;
} }
%link-hover { %link-hover {