From cb1f25e145f11426e681fdbbb807e595690c02fa Mon Sep 17 00:00:00 2001 From: "kujiu (@uberwald)" Date: Thu, 17 Aug 2023 22:14:33 +0200 Subject: [PATCH] Fix CSS for image size --- sphinx_galleria/static/sphinxgalleria/sphinxgalleria.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sphinx_galleria/static/sphinxgalleria/sphinxgalleria.css b/sphinx_galleria/static/sphinxgalleria/sphinxgalleria.css index 80bc9d6..350f37f 100644 --- a/sphinx_galleria/static/sphinxgalleria/sphinxgalleria.css +++ b/sphinx_galleria/static/sphinxgalleria/sphinxgalleria.css @@ -79,8 +79,8 @@ margin: auto; padding: 0; border: none; - width: auto; - height: auto; + width: 100%; + height: 100%; transition: width ease .4s, height ease .4s, opacity ease .4s; object-fit: contain; flex-grow: 1000;