mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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.
This commit is contained in:
committed by
Jeremy Elbourn
parent
1cd3a3cc44
commit
580da741d2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user