Skip to content

Commit

Permalink
Make table horizontal scroll (cotes2020#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Dec 13, 2020
1 parent 833f6cd commit 8828d9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 0 additions & 7 deletions assets/css/_addon/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1033,13 +1033,6 @@ div.post-content .table-wrapper {
@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 {
padding-bottom: $footer-height;
}
Expand Down
1 change: 1 addition & 0 deletions assets/css/_addon/module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
%table-cell {
padding: 0.4rem 1rem;
font-size: 95%;
white-space: nowrap;
}

%link-hover {
Expand Down

0 comments on commit 8828d9f

Please sign in to comment.