mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
fix: theme transition error on ios
This commit is contained in:
parent
93eca1fa7a
commit
aa63803aa2
3 changed files with 8 additions and 12 deletions
|
@ -77,11 +77,7 @@ html[data-theme-transition] [data-disable-transition-on-theme] {
|
|||
|
||||
@supports not (view-transition-name: none) {
|
||||
html:not([data-restore-theme]) {
|
||||
--at-apply: 'transition-colors duration-300 ease-in-out';
|
||||
}
|
||||
|
||||
html:not([data-restore-theme]) [data-disable-transition-on-theme] {
|
||||
--at-apply: 'transition-none!';
|
||||
--at-apply: 'transition-colors duration-300 ease-out';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue