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:
authorMark Otto <markdotto@gmail.com>2018-09-19 08:00:22 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-11-13 09:47:32 +0300
commitab40a2b9195df534b5e0c4c9e86c8641e45cf091 (patch)
treecde03b93bdc0a84071796bb8f8f2b71cb07c0926 /scss/_toasts.scss
parentdc07e8dca803b69a1c3a227e04278caef2908702 (diff)
Nest the `.toast.show` and use `display: block;` as inherit causes broken styles
Diffstat (limited to 'scss/_toasts.scss')
-rw-r--r--scss/_toasts.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/_toasts.scss b/scss/_toasts.scss
index 5ec9cab43a..d6ba4ca141 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 {