From: Richard Heck Date: Sat, 30 Jul 2016 04:15:33 +0000 (-0400) Subject: Fix CSS for math cases. X-Git-Tag: 2.3.0alpha1~1204 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=752c89ae1320fdfa86d3b91dcfdc82e6f20b1407;hp=50c139195083120fb79a215d21cedda516a3451c;p=lyx.git Fix CSS for math cases. Fixes bug #8755. --- diff --git a/src/mathed/InsetMathCases.cpp b/src/mathed/InsetMathCases.cpp index 88012aa247..10d889555b 100644 --- a/src/mathed/InsetMathCases.cpp +++ b/src/mathed/InsetMathCases.cpp @@ -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;}"); }