Skip to content

Commit

Permalink
Fix CW field still having animation in when reduce motion is enabled (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ariasuni authored and Gargron committed Jun 21, 2018
1 parent 7f59206 commit f0f8b24
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/javascript/styles/mastodon/components.scss
Expand Up @@ -302,12 +302,10 @@
height: 0;
transform-origin: bottom;
opacity: 0.0;
transition: all 0.4s ease;

&.spoiler-input--visible {
height: 47px;
opacity: 1.0;
transition: all 0.4s ease;
}
}

Expand Down Expand Up @@ -568,6 +566,10 @@
}
}

.no-reduce-motion .spoiler-input {
transition: height 0.4s ease, opacity 0.4s ease;
}

.emojione {
font-size: inherit;
vertical-align: middle;
Expand Down

0 comments on commit f0f8b24

Please sign in to comment.