From: Martijn Cuppens Date: Wed, 12 Dec 2018 13:23:10 +0000 (+0100) Subject: Fix margin above toast when previous toast is hidden (#27820) X-Git-Tag: v4.2.0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbadf24bb31379d1310c50bce5c40457fe1b729e;p=thirdparty%2Fbootstrap.git Fix margin above toast when previous toast is hidden (#27820) --- diff --git a/scss/_toasts.scss b/scss/_toasts.scss index c5fde797b9..5babc3e4f8 100644 --- a/scss/_toasts.scss +++ b/scss/_toasts.scss @@ -10,8 +10,8 @@ backdrop-filter: blur(10px); opacity: 0; - + .toast { - margin-top: $toast-padding-x; + &:not(:last-child) { + margin-bottom: $toast-padding-x; } &.showing {