Honour prefers reduced motion for read receipts

This commit is contained in:
Germain Souquet 2021-04-08 11:05:45 +01:00
parent 86d2e577cf
commit 1d75726a75
3 changed files with 13 additions and 3 deletions

View file

@ -28,6 +28,16 @@ $MessageTimestamp_width_hover: calc($MessageTimestamp_width - 2 * $EventTile_e2e
:root {
font-size: 10px;
--transition-short: .1s;
--transition-standard: .3s;
}
@media (prefers-reduced-motion) {
:root {
--transition-short: 0;
--transition-standard: 0;
}
}
html {