From 5b8434bbe21936e8ad5e839514020a9fe10538d0 Mon Sep 17 00:00:00 2001 From: "Paul M. Rodriguez" Date: Wed, 8 Apr 2015 18:13:02 -0500 Subject: [PATCH] Protect elements inside .katex from inheriting text-indent. --- static/katex.less | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/katex.less b/static/katex.less index 718d05e88..ff29f422f 100644 --- a/static/katex.less +++ b/static/katex.less @@ -15,6 +15,9 @@ line-height: 1.2; white-space: nowrap; + // Protect elements inside .katex from inheriting text-indent. + text-indent: 0; + .katex-html { // Making .katex inline-block allows line breaks before and after, // which is undesireable ("to $x$,"). Instead, adjust the .katex-html