Quellcode durchsuchen

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

master
Mélanie Chauvel (ariasuni) vor 5 Jahren
committed by Eugen Rochko
Ursprung
Commit
f0f8b242c4
1 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
  1. +4
    -2
      app/javascript/styles/mastodon/components.scss

+ 4
- 2
app/javascript/styles/mastodon/components.scss Datei anzeigen

@@ -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;
}
}

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


Laden…
Abbrechen
Speichern