]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove overflow: hidden from toasts (#31381)
authorMark Otto <markd.otto@gmail.com>
Fri, 31 Jul 2020 11:29:01 +0000 (04:29 -0700)
committerGitHub <noreply@github.com>
Fri, 31 Jul 2020 11:29:01 +0000 (13:29 +0200)
scss/_toasts.scss

index a0b11c9f9df933cec4ed558d8353a8e185b81a96..4db51b6b04db2e692db976a457414cf890ae5ce4 100644 (file)
@@ -1,6 +1,5 @@
 .toast {
   max-width: $toast-max-width;
-  overflow: hidden; // cheap rounded corners on nested items
   @include font-size($toast-font-size);
   color: $toast-color;
   background-color: $toast-background-color;
@@ -36,6 +35,7 @@
   background-color: $toast-header-background-color;
   background-clip: padding-box;
   border-bottom: $toast-border-width solid $toast-header-border-color;
+  @include border-top-radius(subtract($toast-border-radius, $toast-border-width));
 }
 
 .toast-body {