mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-12 22:48:41 +00:00
Fix sizing
Make sizing blocks inline-block Auditors: alpert
This commit is contained in:
@@ -346,7 +346,7 @@ var groupTypes = {
|
||||
options.withSize(group.value.size), prev);
|
||||
|
||||
return makeSpan(
|
||||
["reset-" + options.size, group.value.size,
|
||||
["sizing", "reset-" + options.size, group.value.size,
|
||||
getTypeOfGroup(group.value.value)],
|
||||
[inner]);
|
||||
}
|
||||
|
@@ -289,6 +289,8 @@ big parens
|
||||
}
|
||||
}
|
||||
|
||||
.sizing { display: inline-block; }
|
||||
|
||||
.reset-size5.size1 { font-size: 0.5em; }
|
||||
.reset-size5.size2 { font-size: 0.7em; }
|
||||
.reset-size5.size3 { font-size: 0.8em; }
|
||||
|
Reference in New Issue
Block a user