From 2a375014770db4a1ddb84dd0bc6b4a9eb7e2b87e Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Tue, 25 Jul 2023 10:52:02 +0200 Subject: [PATCH] Center images inside the image box When the image box was larger than the image because of the caption, the actual image was left-justified. --- docs/assets/stylesheets/extra.css | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/assets/stylesheets/extra.css b/docs/assets/stylesheets/extra.css index 52d49d855..ad4057ba0 100644 --- a/docs/assets/stylesheets/extra.css +++ b/docs/assets/stylesheets/extra.css @@ -284,6 +284,7 @@ figure img.side-by-side { .md-content figure img { padding: 8px; + margin: auto; } .md-content figure figcaption {