mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-07 12:18:39 +00:00
Make \rules work in script and scriptscript sizes
Auditors: alpert
This commit is contained in:
@@ -713,6 +713,9 @@ var groupTypes = {
|
||||
height *= fontMetrics.metrics.xHeight;
|
||||
}
|
||||
|
||||
width /= options.style.sizeMultiplier;
|
||||
height /= options.style.sizeMultiplier;
|
||||
|
||||
// Style the rule to the right size
|
||||
rule.style.borderRightWidth = width + "em";
|
||||
rule.style.borderTopWidth = height + "em";
|
||||
|
Reference in New Issue
Block a user