Skip to content

Commit

Permalink
fix(ngShow): ensure that the display property is never set to block
Browse files Browse the repository at this point in the history
  • Loading branch information
matsko committed Jun 5, 2014
1 parent ff03698 commit d711d53
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions css/angular.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,10 @@

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],
.ng-cloak, .x-ng-cloak,
.ng-hide {
.ng-hide:not([class~="ng-hide-remove"]):not([class~="ng-hide-add-active"]) {
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;
}

0 comments on commit d711d53

Please sign in to comment.