From 603de00f0e8f7f5a81bb1edfe8b1027ad2e9f494 Mon Sep 17 00:00:00 2001 From: Naitik-Goyal-0903 Date: Thu, 20 Aug 2026 16:51:40 +0530 Subject: [PATCH] Add inline-flex display for links with images --- src/markdown/images.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/markdown/images.scss b/src/markdown/images.scss index 3eb1449739..8dc8c27235 100644 --- a/src/markdown/images.scss +++ b/src/markdown/images.scss @@ -2,7 +2,9 @@ // stylelint-disable selector-no-qualifying-type // stylelint-disable selector-max-type .markdown-body { - // Images & Stuff + a[href]:has(img) { + display: inline-flex; + } img { max-width: 100%; // because we put padding on the images to hide header lines, and some people