From ed047ad5768acfec6d1b037b99a81f4563bc5d57 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 28 Dec 2020 16:56:44 +0000 Subject: [PATCH] fix(css): hide any `.article-style` Y-overflow Close #2051 --- wowchemy/assets/scss/wowchemy/_content.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wowchemy/assets/scss/wowchemy/_content.scss b/wowchemy/assets/scss/wowchemy/_content.scss index 7cb0484f..3092a822 100644 --- a/wowchemy/assets/scss/wowchemy/_content.scss +++ b/wowchemy/assets/scss/wowchemy/_content.scss @@ -151,8 +151,10 @@ article .article-metadata { } .article-style { - // Break unresponsive block content, such as unresponsive embeds, to prevent horizontal scrolling. - overflow-x: hidden; + // Any unresponsive embeds, e.g. Plotly, should be wrapped to handle on a case-by-case basis. + // If any unresponsive embeds still remain in the article, prevent article overflow and DIV scrolling. + // Note that lazy-loaded images, e.g. Gallery, may cause scrollable Y-overflow if only X-overflow is hidden pre-load. + overflow: hidden; // Word wrap text content. @include word-wrap();