From dbadf24bb31379d1310c50bce5c40457fe1b729e Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Wed, 12 Dec 2018 14:23:10 +0100 Subject: [PATCH] Fix margin above toast when previous toast is hidden (#27820) --- scss/_toasts.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {