Skip to content

Commit 8856c75

Browse files
committed
fix(toasts): IE11 shrinks toasts when in flex container, unless we specify flex-basis
1 parent 6f4d9ff commit 8856c75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scss/_toasts.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.toast {
2+
flex-basis: $toast-max-width; // prevents from shrinking in IE11, when in a flex container https://github.com/twbs/bootstrap/issues/28341
23
max-width: $toast-max-width;
34
overflow: hidden; // cheap rounded corners on nested items
45
@include font-size($toast-font-size);

0 commit comments

Comments
 (0)