mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-05-27 06:02:11 +08:00
fix(ngShow): ensure that the display property is never set to block
Fixes #7707
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user