From 6a4f4244e0ae16127f207680061fa4dcb1c782dd Mon Sep 17 00:00:00 2001 From: welpo Date: Wed, 15 May 2024 21:59:21 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20add=20inline=20image=20CSS?= =?UTF-8?q?=20class?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regular images get a `block` display to be centered. This allows vertically aligned inline images. Related: #314 --- sass/parts/_image.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sass/parts/_image.scss b/sass/parts/_image.scss index ce7fa57f4..d5285465e 100644 --- a/sass/parts/_image.scss +++ b/sass/parts/_image.scss @@ -20,6 +20,11 @@ img { height: auto; } +img.inline { + display: inline; + vertical-align: middle; +} + figure h4 { margin: 0; margin-bottom: 1em;