diff --git a/src/pydata_sphinx_theme/assets/styles/sections/_announcement.scss b/src/pydata_sphinx_theme/assets/styles/sections/_announcement.scss index 7ddca3109..c3cc62549 100644 --- a/src/pydata_sphinx_theme/assets/styles/sections/_announcement.scss +++ b/src/pydata_sphinx_theme/assets/styles/sections/_announcement.scss @@ -7,6 +7,7 @@ // Height to be set by JavaScript, which should trigger the following // transition rule (unless the user has set their system to reduce motion). transition: height 300ms ease-in-out; + @media (prefers-reduced-motion) { transition: none; }