mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
Gate view transitions behind prefers-reduced-motion: no-preference
This commit is contained in:
parent
2f12ac1a53
commit
f063d0394a
@ -465,12 +465,8 @@ svg {
|
||||
@include night-mode;
|
||||
}
|
||||
|
||||
@view-transition {
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
@view-transition {
|
||||
navigation: auto;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
* {
|
||||
view-transition-name: unset !important;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user