From ce5b08f719c3bd5d2ad5c85d3710bc5150108f50 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 21 Dec 2020 14:41:54 +0000 Subject: [PATCH] fix(css): scroll wide tables Caused by a previous commit which added word-break to `article-style`. Fix #2044 --- wowchemy/assets/scss/wowchemy/_root.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wowchemy/assets/scss/wowchemy/_root.scss b/wowchemy/assets/scss/wowchemy/_root.scss index 6e78c823..3eff9e8e 100644 --- a/wowchemy/assets/scss/wowchemy/_root.scss +++ b/wowchemy/assets/scss/wowchemy/_root.scss @@ -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,