From 2fdbfeef8f748bcfaf2f6306e6570fc64bdce6c3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 30 Jul 2020 21:45:25 -0700 Subject: [PATCH] Remove overflow: hidden from toasts Originally added overflow: hidden; as a lazy solution to rounding corners of the toast header. One more line of code would've done the trick properly. Fixes #31302 --- scss/_toasts.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/_toasts.scss b/scss/_toasts.scss index a0b11c9f9df9..4db51b6b04db 100644 --- a/scss/_toasts.scss +++ b/scss/_toasts.scss @@ -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 {