commit 98d4fba57b03155d8de5d185cc1f83eac87a09cf
Author: Richard Heck <rgh...@lyx.org>
Date:   Sat Jul 30 00:15:33 2016 -0400

    Fix CSS for math cases.
    
    Fixes bug #8755.
    
    (cherry picked from commit 752c89ae1320fdfa86d3b91dcfdc82e6f20b1407)
---
 src/mathed/InsetMathCases.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mathed/InsetMathCases.cpp b/src/mathed/InsetMathCases.cpp
index 88012aa..10d8895 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;}");
 }
 
 

Reply via email to