]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Nest the `.toast.show` and use `display: block;` as inherit causes broken styles
authorMark Otto <markdotto@gmail.com>
Wed, 19 Sep 2018 05:00:22 +0000 (22:00 -0700)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 13 Nov 2018 06:47:32 +0000 (08:47 +0200)
scss/_toasts.scss

index 5ec9cab43ae6dca97350f0aaca872b3b5e04c6a8..d6ba4ca1413dcf80638da862b0a8f3a67d97cacf 100644 (file)
   + .toast {
     margin-top: $toast-padding-x;
   }
-}
 
-.toast.show {
-  display: inherit;
+  &.show {
+    display: block;
+  }
 }
 
 .toast-header {