]> git.lyx.org Git - lyx.git/commitdiff
Fix CSS for math cases.
authorRichard Heck <rgheck@lyx.org>
Sat, 30 Jul 2016 04:15:33 +0000 (00:15 -0400)
committerRichard Heck <rgheck@lyx.org>
Sat, 30 Jul 2016 04:15:47 +0000 (00:15 -0400)
Fixes bug #8755.

src/mathed/InsetMathCases.cpp

index 88012aa247f1d36929509b45a06172e85d4215fd..10d889555b91dccc2293424f0673df3a6004f59e 100644 (file)
@@ -177,11 +177,11 @@ void InsetMathCases::validate(LaTeXFeatures & features) const
        features.require("amsmath");
        InsetMathGrid::validate(features);
        if (features.runparams().math_flavor == OutputParams::MathAsHTML)
-               // CSS based on eLyXer's
+               // CSS based on eLyXer's, with modifications suggested in bug #8755
                features.addCSSSnippet(
-                       "table.cases{display: inline-block; text-align: center;"
+                       "table.cases{display: inline-block; text-align: center; border: none;"
                        "border-left: thin solid black; vertical-align: middle; padding-left: 0.5ex;}\n"
-                       "table.cases td {text-align: left;}");
+                       "table.cases td {text-align: left; border: none;}");
 }