Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ant-design-pro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thiago Borges
ant-design-pro
Commits
b24322d5
Commit
b24322d5
authored
Nov 01, 2017
by
ddcat1115
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweak some styles
parent
ea78a8e8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
2 deletions
+4
-2
basic.md
src/components/DescriptionList/demo/basic.md
+1
-1
vertical.md
src/components/DescriptionList/demo/vertical.md
+1
-1
index.md
src/components/DescriptionList/index.md
+1
-0
index.less
src/components/Exception/index.less
+1
-0
No files found.
src/components/DescriptionList/demo/basic.md
View file @
b24322d5
...
@@ -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
...
...
src/components/DescriptionList/demo/vertical.md
View file @
b24322d5
...
@@ -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
...
...
src/components/DescriptionList/index.md
View file @
b24322d5
...
@@ -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 | - |
#### 响应式规则
#### 响应式规则
...
...
src/components/Exception/index.less
View file @
b24322d5
...
@@ -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;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment