]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
change card deck margin strategy
authorMark Otto <markdotto@gmail.com>
Fri, 23 Dec 2016 02:59:05 +0000 (18:59 -0800)
committerMark Otto <markdotto@gmail.com>
Fri, 23 Dec 2016 02:59:05 +0000 (18:59 -0800)
commit040acd30dbd4c2cf3a21ff061b60755c793c2c64
tree0698464175f5b661b01d37c71589415f1a502031
parentb3d8426ffe59af516e3d371c7cc37dc49cd588fe
change card deck margin strategy

- Instead of negative left/right margins, we selectively apply margins to the cards as needed. This way the first and last child never receive a left and right margin (respectively), so we don't need to negative indent those at the .card-deck level.

- Drops the margin-bottom override on the .card because there's no more default margin there.

- Drop the margin-bottom from the .card-deck to match our lack of margins on the card.

This and the previous commit fixes #19883.
scss/_card.scss