Fix weird rendering on Safari

pull/441/head
Lim Chee Aun 2024-02-27 18:02:12 +08:00
rodzic 44f6d9cda0
commit b023a43fee
1 zmienionych plików z 8 dodań i 2 usunięć

Wyświetl plik

@ -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 {