From 92cc4e7890dc7f86aba188ed5db25d646c64b924 Mon Sep 17 00:00:00 2001 From: Aaron Bull Schaefer Date: Thu, 28 Nov 2024 09:35:56 -0800 Subject: [PATCH] fix(style): ensure images have no background color when linked The value of `none` is not valid for the `background-color` property. The CSS spec only allows for the ` | transparent | inherit` values (with `transparent` being the initial value), so this wasn't working as intended. See: - https://www.w3.org/TR/CSS2/colors.html#propdef-background-color --- quartz/styles/base.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss index 34d7e40fa822f..512af0dd0890d 100644 --- a/quartz/styles/base.scss +++ b/quartz/styles/base.scss @@ -85,7 +85,7 @@ a { line-height: 1.4rem; &:has(> img) { - background-color: none; + background-color: transparent; border-radius: 0; padding: 0; }