update card style

This commit is contained in:
afc163 2016-04-12 16:42:15 +08:00
parent 026d720aaf
commit 603c6238cd
2 changed files with 5 additions and 4 deletions

View File

@ -9,7 +9,7 @@ title: 预加载的卡片
import { Card } from 'antd';
ReactDOM.render(
<Card loading title="卡片标题" style={{ width: 300 }}>
<Card loading title="卡片标题" style={{ width: '40%' }}>
Whatever content
</Card>
, mountNode);

View File

@ -52,12 +52,13 @@
&-loading &-body p {
word-break: break-all;
line-height: 12px;
margin: 4px 0 0;
height: 12px;
line-height: 10px;
margin: 5px 0 0;
height: 10px;
border-radius: @border-radius-base;
overflow: hidden;
display: inline-block;
user-select: none;
color: #f3f5f8;
}
}