Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Add full class names to animations.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
Palid committed Aug 11, 2021
1 parent c872609 commit ef3737d
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions res/css/_animations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,19 @@ limitations under the License.
* know they should not be used anywhere outside of React Transition Groups.
*/

.mx_rtg--fade {
&-enter {
opacity: 0;
&-active {
opacity: 1;
transition: opacity 300ms ease;
}
}
&-exit {
opacity: 1;
&-active {
opacity: 0;
transition: opacity 300ms ease;
}
}
.mx_rtg--fade-enter {
opacity: 0;
}
.mx_rtg--fade-enter-active {
opacity: 1;
transition: opacity 300ms ease;
}
.mx_rtg--fade-exit {
opacity: 1;
}
.mx_rtg--fade-exit-active {
opacity: 0;
transition: opacity 300ms ease;
}


Expand Down

0 comments on commit ef3737d

Please sign in to comment.