]> cat aescling's git repositories - mastodon.git/commitdiff
Add transition to media modal background (#15843)
authorMarcin Mikołajczak <me@mkljczk.pl>
Wed, 24 Mar 2021 12:51:32 +0000 (13:51 +0100)
committerGitHub <noreply@github.com>
Wed, 24 Mar 2021 12:51:32 +0000 (13:51 +0100)
* Add transition to media modal background

* use reduceMotion

* Move background color transition into css

Signed-off-by: marcin mikołajczak <me@mkljczk.pl>
app/javascript/styles/mastodon/components.scss

index bdb7ce7682226ac1b6640b81c7255ed2b42acc25..49432b8644b5fb502eed8b09900dcf111733dd6c 100644 (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 {