1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 14:54:27 +02:00

Remove overflow: hidden from toasts (#31381) (#31407)

Co-authored-by: Mark Otto <markd.otto@gmail.com>
This commit is contained in:
XhmikosR
2020-08-03 19:13:32 +03:00
committed by GitHub
parent 6879a3c51d
commit 30d375b33f

View File

@@ -3,7 +3,6 @@
// See https://github.com/twbs/bootstrap/issues/28341 // See https://github.com/twbs/bootstrap/issues/28341
flex-basis: $toast-max-width; flex-basis: $toast-max-width;
max-width: $toast-max-width; max-width: $toast-max-width;
overflow: hidden; // cheap rounded corners on nested items
@include font-size($toast-font-size); @include font-size($toast-font-size);
color: $toast-color; color: $toast-color;
background-color: $toast-background-color; background-color: $toast-background-color;
@@ -39,6 +38,7 @@
background-color: $toast-header-background-color; background-color: $toast-header-background-color;
background-clip: padding-box; background-clip: padding-box;
border-bottom: $toast-border-width solid $toast-header-border-color; border-bottom: $toast-border-width solid $toast-header-border-color;
@include border-top-radius(subtract($toast-border-radius, $toast-border-width));
} }
.toast-body { .toast-body {