mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
update card style
This commit is contained in:
parent
026d720aaf
commit
603c6238cd
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user