Add transition to media modal background (#15843)

* Add transition to media modal background

* use reduceMotion

* Move background color transition into css

Signed-off-by: marcin mikołajczak <me@mkljczk.pl>
This commit is contained in:
Marcin Mikołajczak 2021-03-24 13:51:32 +01:00 committed by GitHub
parent d33351af3c
commit f8e50eaea3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4472,6 +4472,7 @@ a.status-card.compact:hover {
right: 0;
bottom: 0;
background: rgba($base-overlay-background, 0.7);
transition: background 0.5s;
}
.modal-root__container {