mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
fix(css): scroll wide tables
Caused by a previous commit which added word-break to `article-style`. Fix #2044
This commit is contained in:
parent
817e89f73b
commit
ce5b08f719
1 changed files with 5 additions and 2 deletions
|
@ -537,10 +537,13 @@ a.badge:hover {
|
|||
table {
|
||||
display: block;
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
overflow-x: scroll;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 0.8rem;
|
||||
// Override `article-style`'s `break-word` wrapping to make wide tables scrollable.
|
||||
overflow-wrap: normal;
|
||||
word-wrap: normal;
|
||||
word-break: normal;
|
||||
}
|
||||
|
||||
table > thead > tr > th,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue