From 397266a372a33c089f99bd286a06bde7d7e5f7f1 Mon Sep 17 00:00:00 2001 From: Benjamin Rush Date: Mon, 7 Oct 2024 19:41:58 +0100 Subject: [PATCH] fix(app): Regression in 466e3f2 Fix for galleries in markdown pages. Nested images should be 100% width, and auto height, however this is not the case in a .gallery section. --- src/styles/structure.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/structure.css b/src/styles/structure.css index 7e53295..7521ae3 100644 --- a/src/styles/structure.css +++ b/src/styles/structure.css @@ -5,7 +5,7 @@ } -.markdown-content img { +.markdown-content img:not(.gallery img) { display: block; height: auto; max-inline-size: 100%;