Fix CW field still having animation in when reduce motion is enabled (#7872)

lolsob-rspec
Mélanie Chauvel (ariasuni) 2018-06-21 23:05:01 +02:00 committed by Eugen Rochko
parent d61e647e8a
commit 7406d07985
1 changed files with 4 additions and 2 deletions

View File

@ -302,12 +302,10 @@
height: 0; height: 0;
transform-origin: bottom; transform-origin: bottom;
opacity: 0.0; opacity: 0.0;
transition: all 0.4s ease;
&.spoiler-input--visible { &.spoiler-input--visible {
height: 47px; height: 47px;
opacity: 1.0; opacity: 1.0;
transition: all 0.4s ease;
} }
} }
@ -568,6 +566,10 @@
} }
} }
.no-reduce-motion .spoiler-input {
transition: height 0.4s ease, opacity 0.4s ease;
}
.emojione { .emojione {
font-size: inherit; font-size: inherit;
vertical-align: middle; vertical-align: middle;