aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2018-09-18 22:00:22 -0700
committerXhmikosR <[email protected]>2018-11-13 08:47:32 +0200
commitab40a2b9195df534b5e0c4c9e86c8641e45cf091 (patch)
treecde03b93bdc0a84071796bb8f8f2b71cb07c0926
parentdc07e8dca803b69a1c3a227e04278caef2908702 (diff)
downloadbootstrap-ab40a2b9195df534b5e0c4c9e86c8641e45cf091.tar.xz
bootstrap-ab40a2b9195df534b5e0c4c9e86c8641e45cf091.zip
Nest the `.toast.show` and use `display: block;` as inherit causes broken styles
-rw-r--r--scss/_toasts.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/_toasts.scss b/scss/_toasts.scss
index 5ec9cab43..d6ba4ca14 100644
--- a/scss/_toasts.scss
+++ b/scss/_toasts.scss
@@ -13,10 +13,10 @@
+ .toast {
margin-top: $toast-padding-x;
}
-}
-.toast.show {
- display: inherit;
+ &.show {
+ display: block;
+ }
}
.toast-header {