web/SettingsCategory: workaround for opacity bug in ios safari

This commit is contained in:
wukko 2025-05-23 00:53:41 +06:00
parent 9dc58b19bf
commit e7f2244579
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -50,6 +50,14 @@
pointer-events: none; pointer-events: none;
} }
/*
for some weird reason parent's transition
breaks final opacity of children on ios
*/
:global([data-iphone="true"]) .settings-content {
transition: none;
}
.settings-content.focus { .settings-content.focus {
animation: highlight 2s; animation: highlight 2s;
} }