mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 13:13:03 +02:00
fix(toasts): IE11 shrinks toasts when in flex container, unless we specify flex-basis
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
.toast {
|
.toast {
|
||||||
|
// Prevents from shrinking in IE11, when in a flex container
|
||||||
|
// See https://github.com/twbs/bootstrap/issues/28341
|
||||||
|
flex-basis: $toast-max-width;
|
||||||
max-width: $toast-max-width;
|
max-width: $toast-max-width;
|
||||||
overflow: hidden; // cheap rounded corners on nested items
|
overflow: hidden; // cheap rounded corners on nested items
|
||||||
@include font-size($toast-font-size);
|
@include font-size($toast-font-size);
|
||||||
|
Reference in New Issue
Block a user