We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7772f04 commit 8597321Copy full SHA for 8597321
ts/output/common/Wrapper.ts
@@ -456,7 +456,7 @@ export class CommonWrapper<
456
*
457
* @returns {number} The container width
458
*/
459
- get containerWidth(): number {
+ public get containerWidth(): number {
460
return this.parent ? this.parent.containerWidth : this.jax.containerWidth;
461
}
462
ts/output/common/Wrappers/mpadded.ts
@@ -177,7 +177,7 @@ export function CommonMpaddedMixin<
177
if (!w.match(/^[-+]|%$/) && attributes.get('data-overflow') === 'linebreak') {
178
return this.length2em(w);
179
180
- return super.containerWidth;
+ return this.parent.containerWidth;
181
182
183
/**
0 commit comments