about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorMarcin Mikołajczak <me@mkljczk.pl>2021-03-24 13:51:32 +0100
committerGitHub <noreply@github.com>2021-03-24 13:51:32 +0100
commitf8e50eaea351d743bf80e65c2178c4ed46d65881 (patch)
tree070502cbad61411318010e9e1af6da6deddec857 /app/javascript
parentd33351af3c668f585b046e19233523083bfb7075 (diff)
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>
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/mastodon/components.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index bdb7ce768..49432b864 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/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 {