mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Respect prefers-reduced-motion browser configuration (#2090)
Signed-off-by: Gil Desmarais <git@desmarais.de> Signed-off-by: Gil Desmarais <git@desmarais.de>
This commit is contained in:
parent
e3496c7eea
commit
aa21a2a305
1 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,11 @@ const useStyle = makeStyles(
|
|||
display: 'none',
|
||||
},
|
||||
},
|
||||
'@media (prefers-reduced-motion)': {
|
||||
'& .music-player-panel .panel-content div.img-rotate': {
|
||||
animation: 'none',
|
||||
},
|
||||
},
|
||||
'& .progress-bar-content': {
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue