Commit b24322d5 authored by ddcat1115's avatar ddcat1115

tweak some styles

parent ea78a8e8
...@@ -11,7 +11,7 @@ import DescriptionList from 'ant-design-pro/lib/DescriptionList'; ...@@ -11,7 +11,7 @@ import DescriptionList from 'ant-design-pro/lib/DescriptionList';
const { Description } = DescriptionList; const { Description } = DescriptionList;
ReactDOM.render( ReactDOM.render(
<DescriptionList title="title"> <DescriptionList size="large" title="title">
<Description term="Firefox"> <Description term="Firefox">
A free, open source, cross-platform, A free, open source, cross-platform,
graphical web browser developed by the graphical web browser developed by the
......
...@@ -11,7 +11,7 @@ import DescriptionList from 'ant-design-pro/lib/DescriptionList'; ...@@ -11,7 +11,7 @@ import DescriptionList from 'ant-design-pro/lib/DescriptionList';
const { Description } = DescriptionList; const { Description } = DescriptionList;
ReactDOM.render( ReactDOM.render(
<DescriptionList title="title" layout="vertical"> <DescriptionList size="large" title="title" layout="vertical">
<Description term="Firefox"> <Description term="Firefox">
A free, open source, cross-platform, A free, open source, cross-platform,
graphical web browser developed by the graphical web browser developed by the
......
...@@ -17,6 +17,7 @@ order: 4 ...@@ -17,6 +17,7 @@ order: 4
| col | 指定信息最多分几列展示,最终一行几列由 col 配置结合[响应式规则](/components/DescriptionList#响应式规则)决定 | number(0 < col <= 4) | 3 | | col | 指定信息最多分几列展示,最终一行几列由 col 配置结合[响应式规则](/components/DescriptionList#响应式规则)决定 | number(0 < col <= 4) | 3 |
| title | 列表标题 | ReactNode | - | | title | 列表标题 | ReactNode | - |
| gutter | 列表项间距,单位为 `px` | number | 32 | | gutter | 列表项间距,单位为 `px` | number | 32 |
| size | 列表型号,可以设置为 `large` `small` | string | - |
#### 响应式规则 #### 响应式规则
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
.desc { .desc {
color: @text-color-secondary; color: @text-color-secondary;
font-size: 20px; font-size: 20px;
line-height: 28px;
margin-bottom: 16px; margin-bottom: 16px;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment