我正在使用Sphinx和Read The Docs主题来构建一个网站。
我在图片右侧包含图片:
.. figure:: fig/image.png
:width: 150px
:align: right
Lorem ipsum ...
我的问题是:如何删除image.png后的额外空白行?
答案 0 :(得分:0)
感谢@Blendify same question on GitHub,在theme.css
文件中,margin-bottom
必须设置为0px
而不是24px
。在那种特殊情况下,它是:
.section>a>img{margin-bottom:0px}