Skip to content

Commit ca5cd24

Browse files
authored
fix: fortune cookie reduced motion (#97)
1 parent c324213 commit ca5cd24

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/DialogFortuneCookie.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,13 @@ dialog[open] {
101101
}
102102
103103
@media (prefers-reduced-motion: reduce) {
104+
.fortune-cover {
105+
animation: none;
106+
width: 0%;
107+
}
108+
104109
.fortune-cover,
105110
.glow {
106-
animation: none;
107111
opacity: 1;
108112
}
109113
}

0 commit comments

Comments
 (0)