pytorch_sphinx_theme
pytorch_sphinx_theme copied to clipboard
Spacing before a list in a `.. note::`
The current template puts too much space when a list is rendered within a .. note:: directive. See for example the first note in
https://pytorch.org/docs/1.9.0/generated/torch.svd.html
I believe that the spacing between each item is also larger than in other contexts. Compare it with, for example, the list in: https://pytorch.org/docs/stable/generated/torch.linalg.qr.html
cc @mattip
This is coming from the margin-top: 1.125rem; styling in
https://github.com/pytorch/pytorch_sphinx_theme/blob/6998a964e49c60179892685006d266e12c6c3292/pytorch_sphinx_theme/static/css/theme.css#L10914-L10927