From 5e4b450b2c6b8a7e5860a88b503c9c593d2f3d78 Mon Sep 17 00:00:00 2001 From: crisbeto Date: Mon, 3 Oct 2016 18:42:59 +0200 Subject: [PATCH] fix(snack-bar): add explicit box-sizing Fixes the snack bar not being readable in the cases where `box-sizing: border-box` is applied globally. Fixes #1412. --- src/lib/snack-bar/snack-bar-container.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/snack-bar/snack-bar-container.scss b/src/lib/snack-bar/snack-bar-container.scss index dd5c4b48dd06..48a12d1fc237 100644 --- a/src/lib/snack-bar/snack-bar-container.scss +++ b/src/lib/snack-bar/snack-bar-container.scss @@ -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; -} \ No newline at end of file + box-sizing: content-box; +}