From 17d32f5e436bbbee667bcbe6724cf4d86048b3bf Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Thu, 10 Feb 2022 16:42:11 +0100 Subject: [PATCH] fix: don't apply extra image styling to images outside the main Without this modifier, the border, background color, etc, also applies to logos in the header and footer, and that's not what we want. --- website/src/css/custom.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 34cea6e292..940a4feb2f 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -61,7 +61,7 @@ html[data-theme='dark'] { --unleash-img-background-color: #fff; } -img { +main img { background: var(--unleash-img-background-color); display: block; margin: auto;