mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 23:04:05 -06:00
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:
parent
e1d754ef79
commit
92cc4e7890
@ -85,7 +85,7 @@ a {
|
||||
line-height: 1.4rem;
|
||||
|
||||
&:has(> img) {
|
||||
background-color: none;
|
||||
background-color: transparent;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user