]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix margin above toast when previous toast is hidden (#27820)
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Wed, 12 Dec 2018 13:23:10 +0000 (14:23 +0100)
committerGitHub <noreply@github.com>
Wed, 12 Dec 2018 13:23:10 +0000 (14:23 +0100)
scss/_toasts.scss

index c5fde797b9cb324fb73771f3aa89b2156503ae13..5babc3e4f8a88d1e1e586e1d41a243321ce0b86b 100644 (file)
@@ -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 {