fix(ngShow): ensure that the display property is never set to block

Fixes #7707
This commit is contained in:
Matias Niemelä
2014-06-05 10:09:47 -04:00
parent ff0369883e
commit 1d90744f40

View File

@@ -2,16 +2,10 @@
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],
.ng-cloak, .x-ng-cloak,
.ng-hide {
.ng-hide:not(.ng-animate) {
display: none !important;
}
ng\:form {
display: block;
}
/* show the element during a show/hide animation when the
* animation is ongoing, but the .ng-hide class is active */
.ng-hide-add-active, .ng-hide-remove {
display: block!important;
}