Skip to content

Commit

Permalink
Fix title and extra content position of narrow card
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Sep 15, 2017
1 parent b36df9d commit 5ac4681
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/card/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
border-radius: @border-radius-sm @border-radius-sm 0 0;
.clearfix;
margin-bottom: -1px; // Fix card grid overflow bug: https://gw.alipayobjects.com/zos/rmsportal/XonYxBikwpgbqIQBeuhk.png
display: flex;

&-title {
font-size: @font-size-lg;
Expand All @@ -40,11 +41,13 @@
color: @card-head-color;
font-weight: 500;
display: inline-block;
flex: 1;
}
}

&-extra {
float: right;
text-align: right;
}

&-body {
Expand Down

0 comments on commit 5ac4681

Please sign in to comment.