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 2eedb3a commit 4d67c41Copy full SHA for 4d67c41
lib/src/replaced_element.dart
@@ -281,7 +281,7 @@ class MathElement extends ReplacedElement {
281
texStr = parseMathRecursive(element, r'');
282
}
283
return Container(
284
- width: element.localName == "math" || element.parent!.localName == "body" ?
+ width: element.localName == "math" ?
285
MediaQuery.of(context.buildContext).size.width : null,
286
child: Math.tex(
287
texStr ?? '',
0 commit comments