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 `<color> | 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
This commit is contained in:
Aaron Bull Schaefer 2024-11-28 09:35:56 -08:00
parent e1d754ef79
commit 92cc4e7890
No known key found for this signature in database

View File

@ -85,7 +85,7 @@ a {
line-height: 1.4rem;
&:has(> img) {
background-color: none;
background-color: transparent;
border-radius: 0;
padding: 0;
}