Skip to content

Commit 98a31f5

Browse files
authored
Merge pull request #1347 from mathjax/issue3429
Don't use padding for horizontal stretchy extenders. (mathjax/MathJax#3429)
2 parents c12a9d4 + 91b1c2d commit 98a31f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ts/output/chtml/FontData.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,9 @@ export class ChtmlFontData extends FontData<
583583
padding: this.padding(HDW as ChtmlCharData, w - HDW[2]),
584584
};
585585
if (part === 'ext') {
586+
const padding = (css.padding as string).split(/ /);
587+
padding[1] = padding[3] = '0';
588+
css.padding = padding.join(' ');
586589
if (!w && options.dx) {
587590
w = 2 * options.dx - 0.06;
588591
}

0 commit comments

Comments
 (0)