mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-24 18:42:09 +02:00
web/SettingsCategory: workaround for opacity bug in ios safari
This commit is contained in:
parent
9dc58b19bf
commit
e7f2244579
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user