mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
* \kern generates padding instead of margin. Fix #995 * Switch to marginRight * Add screenshot tests
This commit is contained in:
committed by
Kevin Barabash
parent
7702ffa5b6
commit
d822f04b9b
@@ -48,7 +48,7 @@ defineFunction({
|
||||
|
||||
if (group.value.dimension) {
|
||||
const dimension = calculateSize(group.value.dimension, options);
|
||||
rule.style.marginLeft = dimension + "em";
|
||||
rule.style.marginRight = dimension + "em";
|
||||
}
|
||||
|
||||
return rule;
|
||||
|
Reference in New Issue
Block a user