mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 06:14:48 +00: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:
1 parent
817e89f73b
commit
ce5b08f719
1 file changed
+5
-2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user