1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-05 02:08:21 +09:00

Make notification respect reduce-motion (#27178)

This commit is contained in:
Christian Schmidt 2023-09-28 10:39:38 +02:00 committed by Claire
parent 91047c36b5
commit 11f0b6bc7e

View File

@ -9283,14 +9283,17 @@ noscript {
0 10px 15px -3px rgba($base-shadow-color, 0.25),
0 4px 6px -4px rgba($base-shadow-color, 0.25);
cursor: default;
transition: 0.5s cubic-bezier(0.89, 0.01, 0.5, 1.1);
transform: translateZ(0);
font-size: 15px;
line-height: 21px;
&.notification-bar-active {
inset-inline-start: 1rem;
}
.no-reduce-motion & {
transition: 0.5s cubic-bezier(0.89, 0.01, 0.5, 1.1);
transform: translateZ(0);
}
}
.notification-bar-title {