From b24322d5a3e2b39ba987e94bbc3fa824c66e5d67 Mon Sep 17 00:00:00 2001 From: ddcat1115 Date: Wed, 1 Nov 2017 15:44:13 +0800 Subject: [PATCH] tweak some styles --- src/components/DescriptionList/demo/basic.md | 2 +- src/components/DescriptionList/demo/vertical.md | 2 +- src/components/DescriptionList/index.md | 1 + src/components/Exception/index.less | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/DescriptionList/demo/basic.md b/src/components/DescriptionList/demo/basic.md index 13df17e9..8dd85347 100644 --- a/src/components/DescriptionList/demo/basic.md +++ b/src/components/DescriptionList/demo/basic.md @@ -11,7 +11,7 @@ import DescriptionList from 'ant-design-pro/lib/DescriptionList'; const { Description } = DescriptionList; ReactDOM.render( - + A free, open source, cross-platform, graphical web browser developed by the diff --git a/src/components/DescriptionList/demo/vertical.md b/src/components/DescriptionList/demo/vertical.md index 6d7b9433..a304f946 100644 --- a/src/components/DescriptionList/demo/vertical.md +++ b/src/components/DescriptionList/demo/vertical.md @@ -11,7 +11,7 @@ import DescriptionList from 'ant-design-pro/lib/DescriptionList'; const { Description } = DescriptionList; ReactDOM.render( - + A free, open source, cross-platform, graphical web browser developed by the diff --git a/src/components/DescriptionList/index.md b/src/components/DescriptionList/index.md index 364fa107..003c175c 100644 --- a/src/components/DescriptionList/index.md +++ b/src/components/DescriptionList/index.md @@ -17,6 +17,7 @@ order: 4 | col | 指定信息最多分几列展示,最终一行几列由 col 配置结合[响应式规则](/components/DescriptionList#响应式规则)决定 | number(0 < col <= 4) | 3 | | title | 列表标题 | ReactNode | - | | gutter | 列表项间距,单位为 `px` | number | 32 | +| size | 列表型号,可以设置为 `large` `small` | string | - | #### 响应式规则 diff --git a/src/components/Exception/index.less b/src/components/Exception/index.less index d920141d..3313f75f 100644 --- a/src/components/Exception/index.less +++ b/src/components/Exception/index.less @@ -37,6 +37,7 @@ .desc { color: @text-color-secondary; font-size: 20px; + line-height: 28px; margin-bottom: 16px; } -- GitLab