fix(css): hide any .article-style Y-overflow

Close #2051
This commit is contained in:
George Cushen 2020-12-28 16:56:44 +00:00
commit ed047ad576

View file

@ -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();