]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Have same margin for <hN> as a <div> on .card-headers (#19048)
authormkroeders <mkroeders@gmail.com>
Mon, 12 Sep 2016 06:32:51 +0000 (08:32 +0200)
committerMark Otto <markd.otto@gmail.com>
Mon, 12 Sep 2016 06:32:51 +0000 (23:32 -0700)
* Have same margin for <hN> as a <div> on .card-headers
Related #18726

When you use a `<hN>` as `.card-header` there is `margin-bottom: .5rem` added. The changes set the margin-bottom to 0
* Removed space

scss/_card.scss

index 1644ae466cd73046dd310253216ae415bffd3868..01a5733d6af3e9332d141cc71d626c04b8f1aa71 100644 (file)
@@ -70,6 +70,7 @@
 .card-header {
   @include clearfix;
   padding: $card-spacer-y $card-spacer-x;
+  margin-bottom: 0; // Removes the default margin-bottom of <hN>
   background-color: $card-cap-bg;
   border-bottom: $card-border-width solid $card-border-color;