From a50dffd844fd8617c11b0a713772c2397e7ac45f Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Fri, 23 Apr 2021 12:42:44 +0100 Subject: [PATCH] Fix formatting of code blocks in admonitions --- docs/extra.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/extra.css b/docs/extra.css index 0be08ca3..3fc5c37d 100644 --- a/docs/extra.css +++ b/docs/extra.css @@ -40,6 +40,14 @@ h1, h2, h3, h4, h5, h6 { white-space: normal; } +.rst-content .admonition { + line-height: inherit; +} + +.admonition code { + border: none; +} + /* Code block filename style