[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-cvs
Subject: [LyX/2.2.x] Fix CSS for math cases.
From: Richard Heck <rgheck () lyx ! org>
Date: 2016-07-31 7:43:00
Message-ID: 20160731074300.A85EA2801E2 () lyx ! lyx ! org
[Download RAW message or body]
commit 98d4fba57b03155d8de5d185cc1f83eac87a09cf
Author: Richard Heck <rgheck@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;}");
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic