Skip to content

Commit cd975ae

Browse files
authored
fix(card): top border thickness of horizontal card
The content element of the card has top border and the card also has box shadow which makes the card border thicker when the card representing the content horizontally. This PR removes the top border from the card content if it's inside the horizontal card.
1 parent 82231f8 commit cd975ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/definitions/views/card.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@
464464
border-radius: 0 @defaultBorderRadius @defaultBorderRadius 0;
465465
}
466466
.ui.horizontal.cards > .card > .content, .ui.horizontal.card > .content {
467+
border-top: none;
467468
flex-basis: 1px;
468469
}
469470
.ui.horizontal.cards > .card > .extra, .ui.horizontal.card > .extra {

0 commit comments

Comments
 (0)