Skip to content

Commit

Permalink
tiny transitional bug with card titles (#1267)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuart Robson authored Nov 27, 2020
1 parent 23b1617 commit 88d26e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/vf-card/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 2.3.1

* issue with margin-bottom still in place when using `vf-stack` with `vf-card__content`.

### 2.3.0

* adds new `--bordered` and `--striped` design variants.
Expand Down
1 change: 1 addition & 0 deletions components/vf-card/vf-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@
// note: as we are adding `vf-stack` to the `vf-card__content` we need to override
// the existing `margin-bottom` to the `__title` and __text` components.
.vf-card__content.vf-stack {
.vf-card__title,
.vf-card__text {
margin-bottom: 0;
}
Expand Down

0 comments on commit 88d26e9

Please sign in to comment.