Skip to content

Commit

Permalink
fix(toasts): IE11 shrinks toasts when in flex container, unless we sp…
Browse files Browse the repository at this point in the history
…ecify flex-basis
  • Loading branch information
ffoodd committed Jun 4, 2020
1 parent 6f4d9ff commit 1c731dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scss/_toasts.scss
@@ -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);
Expand Down

0 comments on commit 1c731dd

Please sign in to comment.