Skip to content

Commit

Permalink
fix(sidenav): removes margin transitions (#460)
Browse files Browse the repository at this point in the history
closes #404
  • Loading branch information
robertmesserle authored and jelbourn committed May 18, 2016
1 parent 8af16e8 commit 4b488e1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/sidenav/sidenav-transitions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,14 @@


:host {
transition: margin-left $swift-ease-out-duration $swift-ease-out-timing-function,
margin-right $swift-ease-out-duration $swift-ease-out-timing-function;

& > .md-sidenav-backdrop {
&.md-sidenav-shown {
transition: background-color $swift-ease-out-duration $swift-ease-out-timing-function;
}
}

& > md-content {
transition: margin-left $swift-ease-out-duration $swift-ease-out-timing-function,
margin-right $swift-ease-out-duration $swift-ease-out-timing-function,
left $swift-ease-out-duration $swift-ease-out-timing-function,
transition: left $swift-ease-out-duration $swift-ease-out-timing-function,
right $swift-ease-out-duration $swift-ease-out-timing-function;
}

Expand Down

0 comments on commit 4b488e1

Please sign in to comment.