Fix MathML CSS
Summary: Make the CSS rules that hide the MathML rendering not `!important`, so that they can be overridden. Also, remove the useless `math.katex` rule. Fixes #197 Test plan: - `make test` - See that huxley screenshots haven't changed Auditors: alpert
This commit is contained in:
parent
c901083e59
commit
91376a4d26
|
@ -10,11 +10,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
math.katex {
|
||||
font-size: 1.21em;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.katex {
|
||||
font: normal 1.21em KaTeX_Main;
|
||||
line-height: 1.2;
|
||||
|
@ -30,12 +25,12 @@ math.katex {
|
|||
.katex-mathml {
|
||||
// Accessibility hack to only show to screen readers
|
||||
// Found at: http://a11yproject.com/posts/how-to-hide-content/
|
||||
position: absolute !important;
|
||||
position: absolute;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
height: 1px !important;
|
||||
width: 1px !important;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user