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
When using an admonition title that soft wraps across multiple lines, its icon aligns with the last line of the admonition.
The following example uses sphinx-togglebutton, but it's not necessary to reproduce the issue. See also the screenshot.
```{admonition} Warning! This feature is experimental and only applies to registering routes for React Router 7 applications. Click to accept the risks and read details.
:class: warning, toggleUh-oh, now you're in trouble!```
To fix this, I added a one-line style to my child theme, plone-sphinx-theme.
When using an admonition title that soft wraps across multiple lines, its icon aligns with the last line of the admonition.
The following example uses
sphinx-togglebutton
, but it's not necessary to reproduce the issue. See also the screenshot.To fix this, I added a one-line style to my child theme,
plone-sphinx-theme
.https://github.com/plone/plone-sphinx-theme/blob/f30931569351be713c57eaa73dac3cb4f4478e8a/src/plone_sphinx_theme/assets/styles/content/_admonitions.scss#L14
top: 0.5rem;
And here's the result.
If you like, I can submit a pull request with this change. Please let me know. Thank you!
The text was updated successfully, but these errors were encountered: