mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
Fix the struts in IE9
Summary: For some reason, `vertical-align: top` doesn't work in IE9, or at least doesn't work the same as in any other browser (I'm too lazy to figure out what the correct behavior really should be). Giving a literal value for `vertical-align` works the same in all browsers, so use that instead. Test Plan: - Replace line 13 of static/index.html with <br>m<span id="math"></span>m - See that the test page now looks good in Chrome, Firefox, and IE9 - See that huxley tests haven't changed Reviewers: alpert Reviewed By: alpert Differential Revision: http://phabricator.khanacademy.org/D8384
This commit is contained in:
@@ -23,10 +23,6 @@ big parens
|
||||
|
||||
.strut {
|
||||
display: inline-block;
|
||||
|
||||
&.bottom {
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
|
||||
.mathit {
|
||||
|
Reference in New Issue
Block a user