mirror of
https://github.com/imputnet/cobalt.git
synced 2026-10-31 14:54:48 +00:00
web/SettingsCategory: workaround for opacity bug in ios safari
This commit is contained in:
parent
9dc58b19bf
commit
e7f2244579
1 changed files with 8 additions and 0 deletions
|
|
@ -50,6 +50,14 @@
|
|||
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 {
|
||||
animation: highlight 2s;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue