From: Vladimír Vondruš Date: Tue, 31 Oct 2017 12:13:34 +0000 (+0100) Subject: css: put scrollbars on large maths. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=592e9766fbd5370c47c51a59312fd06605fe7759;p=blog.git css: put scrollbars on large maths. --- diff --git a/css/m-components.css b/css/m-components.css index 44230479..8f604deb 100644 --- a/css/m-components.css +++ b/css/m-components.css @@ -1231,6 +1231,7 @@ pre.m-code.m-inverted > span.hll { /* Math block, inline math */ div.m-math { + overflow-x: auto; text-align: center; } diff --git a/css/m-dark.compiled.css b/css/m-dark.compiled.css index c2fbdf2b..e8d5c254 100644 --- a/css/m-dark.compiled.css +++ b/css/m-dark.compiled.css @@ -1521,6 +1521,7 @@ pre.m-code.m-inverted > span.hll { border-color: transparent; } div.m-math { + overflow-x: auto; text-align: center; } div.m-math svg, svg.m-math { fill: #dcdcdc; } diff --git a/css/m-light.compiled.css b/css/m-light.compiled.css index 8bc17873..781aa61e 100644 --- a/css/m-light.compiled.css +++ b/css/m-light.compiled.css @@ -1521,6 +1521,7 @@ pre.m-code.m-inverted > span.hll { border-color: transparent; } div.m-math { + overflow-x: auto; text-align: center; } div.m-math svg, svg.m-math { fill: #000000; }