Skip to content

Commit

Permalink
Increase the specificity of the admonition title selector
Browse files Browse the repository at this point in the history
This makes it look correct in a table.
  • Loading branch information
pradyunsg committed Jul 15, 2023
1 parent 834e951 commit beebd7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/kitchen-sink/tables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ Pradyun's pip fork and installer .. code-block:: bash

pip install "pip @ git+https://github.com/pradyunsg/pip#20.3.3" "installer @ git+https://github.com/pradyunsg/installer"

.. note::

This is only reasonable if you're Pradyun.

PyPI .. code-block:: bash

pip install pip installer
Expand Down
3 changes: 2 additions & 1 deletion src/furo/assets/styles/content/_admonitions.sass
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
> :last-child
margin-bottom: 0

p.admonition-title, p.topic-title
.admonition p.admonition-title,
p.topic-title
position: relative
margin: 0 -0.5rem 0.5rem
padding-left: 2rem
Expand Down

0 comments on commit beebd7e

Please sign in to comment.