From 592e9766fbd5370c47c51a59312fd06605fe7759 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 31 Oct 2017 13:13:34 +0100 Subject: [PATCH] css: put scrollbars on large maths. --- css/m-components.css | 1 + css/m-dark.compiled.css | 1 + css/m-light.compiled.css | 1 + 3 files changed, 3 insertions(+) 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; } -- 2.30.2