Skip to content

Commit 580da74

Browse files
crisbetojelbourn
authored andcommitted
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.
1 parent 1cd3a3c commit 580da74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/snack-bar/snack-bar-container.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ $md-snack-bar-max-width: 568px !default;
1616
min-width: $md-snack-bar-min-width;
1717
overflow: hidden;
1818
padding: $md-snack-bar-padding;
19-
}
19+
box-sizing: content-box;
20+
}

0 commit comments

Comments
 (0)