aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2018-12-12 14:23:10 +0100
committerGitHub <[email protected]>2018-12-12 14:23:10 +0100
commitdbadf24bb31379d1310c50bce5c40457fe1b729e (patch)
tree00779d601487adc71c856dd9a477f3bd670e6417
parent0a55c7a8f62ff0b7d95d42e3d09db9927f85c439 (diff)
downloadbootstrap-dbadf24bb31379d1310c50bce5c40457fe1b729e.tar.xz
bootstrap-dbadf24bb31379d1310c50bce5c40457fe1b729e.zip
Fix margin above toast when previous toast is hidden (#27820)
-rw-r--r--scss/_toasts.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/_toasts.scss b/scss/_toasts.scss
index c5fde797b..5babc3e4f 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 {