Skip to content

Commit

Permalink
fix(snack-bar): add explicit box-sizing (#1413)
Browse files Browse the repository at this point in the history
Fixes the snack bar not being readable in the cases where `box-sizing: border-box` is applied globally.

Fixes #1412.
  • Loading branch information
crisbeto authored and jelbourn committed Oct 5, 2016
1 parent 1cd3a3c commit 580da74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/snack-bar/snack-bar-container.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ $md-snack-bar-max-width: 568px !default;
min-width: $md-snack-bar-min-width;
overflow: hidden;
padding: $md-snack-bar-padding;
}
box-sizing: content-box;
}

0 comments on commit 580da74

Please sign in to comment.