Fix weird rendering on Safari

This commit is contained in:
Lim Chee Aun 2024-02-27 18:02:12 +08:00
parent 44f6d9cda0
commit b023a43fee

View file

@ -262,6 +262,7 @@
img {
transition: filter 0.15s ease;
will-change: filter;
}
}
@ -315,11 +316,16 @@
}
}
&:has(.filter-author :checked)
.filter-author:not(:has(:checked)):not(:is(:hover, :focus)) {
&:has(.filter-author :checked) .filter-author:not(:has(:checked)) {
.avatar img {
filter: grayscale(1) contrast(2) opacity(0.5);
}
&:is(:hover, :focus) {
.avatar img {
filter: none;
}
}
}
.radio-field-group {