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>
master
Marcin Mikołajczak 4 years ago committed by GitHub
parent d33351af3c
commit f8e50eaea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      app/javascript/styles/mastodon/components.scss

@ -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 {

Loading…
Cancel
Save