0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-28 10:24:19 +01:00

fix(toasts): IE11 shrinks toasts when in flex container, unless we specify flex-basis

This commit is contained in:
Gaël Poupard 2020-06-03 15:27:50 +02:00 committed by XhmikosR
parent 3caea1ca02
commit 8429acf460

View File

@ -1,4 +1,7 @@
.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;
overflow: hidden; // cheap rounded corners on nested items
@include font-size($toast-font-size);