You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inline SVGs generated by LaTeXML do not have a @viewBox attribute, which makes it virtually impossible to resize them from CSS (e.g. setting max-width: 100% to ensure that the image fits cannot work without @viewBox).
The text was updated successfully, but these errors were encountered:
uncommenting the line seems ok (in fact, minx and miny are always 0, so many of those calculations are superfluous).
I might send a PR restoring some viewBox here and there. The one for xypic is more challenging, as it looks like you are using the SVG transform to mimic vertical-align (badly, because you still get the wrong CSS box), so it's not entirely obvious what the correct viewBox should be.
Inline SVGs generated by LaTeXML do not have a
@viewBox
attribute, which makes it virtually impossible to resize them from CSS (e.g. settingmax-width: 100%
to ensure that the image fits cannot work without@viewBox
).The text was updated successfully, but these errors were encountered: