Skip to content
Snippets Groups Projects
Unverified Commit e14930e7 authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Disable dashboard transition when reduced-motion is preferred (#18693)

parent 275e6112
No related branches found
No related tags found
No related merge requests found
......@@ -161,6 +161,13 @@
border-radius: 8px;
}
@media (prefers-reduced-motion) {
/* short duration (instead of none) to still trigger transition events */
.DashCard {
transition-duration: 10ms !important;
}
}
.Dash--editing .DashCard.react-draggable-dragging .Card {
box-shadow: 3px 3px 8px var(--color-shadow);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment