From 580da741d2e48a9449ab3b09021fff9b07438946 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Wed, 5 Oct 2016 18:32:14 +0200 Subject: [PATCH] fix(snack-bar): add explicit box-sizing (#1413) 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; +}