Fix CSS for math cases.

Fixes bug #8755.

(cherry picked from commit 752c89ae13)
This commit is contained in:
Richard Heck 2016-07-30 00:15:33 -04:00
parent ffd6a28a97
commit 98d4fba57b

View File

@ -177,11 +177,11 @@ void InsetMathCases::validate(LaTeXFeatures & features) const
features.require("amsmath"); features.require("amsmath");
InsetMathGrid::validate(features); InsetMathGrid::validate(features);
if (features.runparams().math_flavor == OutputParams::MathAsHTML) 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( 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" "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;}");
} }