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
I'm using pytorch_sphinx_theme for a PyTorch domain library I'm developing. When I try to add a link to an external SVG image (like a badge) it seems that I'm unable to control the width of the image. For example:
I'm using pytorch_sphinx_theme for a PyTorch domain library I'm developing. When I try to add a link to an external SVG image (like a badge) it seems that I'm unable to control the width of the image. For example:
When I build this, no matter what width I specify, it is always 100%. The HTML is being rendered correctly:
but because of these lines of CSS:
the width is being overridden. If I remove that section from the CSS it behaves as expected.
Is this section actually needed for something, or should I submit a PR to remove it?
P.S. @calebrob6 is the one who actually found the offending lines of CSS.
The text was updated successfully, but these errors were encountered: