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

Commit

Permalink
fix(sidenav): animation when width is explicitly defined
Browse files Browse the repository at this point in the history
- Made `width` and `min-width` important for the animation

fixes #7483

Closes #7605
  • Loading branch information
EladBezalel authored and ThomasBurleson committed Apr 11, 2016
1 parent 8968c99 commit 57ab6d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/sidenav/sidenav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ md-sidenav {
&._md-locked-open-remove-active {
transition: width $swift-ease-in-duration $swift-ease-in-timing-function,
min-width $swift-ease-in-duration $swift-ease-in-timing-function;
width: 0;
min-width: 0;
width: 0 !important;
min-width: 0 !important;
}

&._md-closed._md-locked-open-add {
width: 0;
min-width: 0;
width: 0 !important;
min-width: 0 !important;
transform: translate3d(0%, 0, 0);
}

Expand Down

0 comments on commit 57ab6d9

Please sign in to comment.