Resolves #775 Snackbar transitions have invalid '0' values

This commit is contained in:
Kevin Ross 2015-12-10 08:13:50 -06:00
parent 75e432ebef
commit fdb8cf9c89

View File

@ -11,7 +11,7 @@
// Animation // Animation
height: 0; height: 0;
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, padding 0 linear 0.2s, height 0 linear 0.2s; transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0s linear 0.2s, padding 0s linear 0.2s, height 0s linear 0.2s;
transform: translateY(200%); transform: translateY(200%);
} }
@ -22,7 +22,7 @@
// Animation // Animation
height: auto; height: auto;
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, height 0 linear 0.2s; transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0s linear 0.2s, height 0s linear 0.2s;
transform: none; transform: none;
} }