Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2018-12-12 16:23:10 +0300
committerGitHub <noreply@github.com>2018-12-12 16:23:10 +0300
commitdbadf24bb31379d1310c50bce5c40457fe1b729e (patch)
tree00779d601487adc71c856dd9a477f3bd670e6417 /scss/_toasts.scss
parent0a55c7a8f62ff0b7d95d42e3d09db9927f85c439 (diff)
Fix margin above toast when previous toast is hidden (#27820)
Diffstat (limited to 'scss/_toasts.scss')
-rw-r--r--scss/_toasts.scss4
1 files 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 {