mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-07 12:18:39 +00:00
Fix large integrals in IE 8
IE 8 clips the \int sign when it is `display: inline-block`. This fixes that. Test plan: - Make sure no huxley tests changed Auditors: alpert
This commit is contained in:
@@ -411,6 +411,10 @@ var groupTypes = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hasLimits) {
|
if (hasLimits) {
|
||||||
|
// IE 8 clips \int if it is in a display: inline-block. We wrap it
|
||||||
|
// in a new span so it is an inline, and works.
|
||||||
|
var base = makeSpan([], [base]);
|
||||||
|
|
||||||
if (supGroup) {
|
if (supGroup) {
|
||||||
var sup = buildGroup(supGroup,
|
var sup = buildGroup(supGroup,
|
||||||
options.withStyle(options.style.sup()));
|
options.withStyle(options.style.sup()));
|
||||||
|
Reference in New Issue
Block a user