From a317ceb44a4d5d979d0e81580a621b304c657b0a Mon Sep 17 00:00:00 2001 From: Kaylynn Morgan <51037748+kaylynn234@users.noreply.github.com> Date: Tue, 1 Mar 2022 17:00:29 +1100 Subject: [PATCH] Respect the alignment specified by the image directive --- docs/_static/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/_static/style.css b/docs/_static/style.css index e1d218b30..eec62eb38 100644 --- a/docs/_static/style.css +++ b/docs/_static/style.css @@ -1147,6 +1147,15 @@ table.docutils tbody tr td ol.last { margin-bottom: 0; } +/* added when the `align` attribute is specified in the `image` directive */ +main img.align-left { + margin-left: .5em; +} + +main img.align-right { + margin-right: .5em; +} + .align-default { text-align: left !important; }