Fix breadcrume style detail, close #2434

This commit is contained in:
afc163 2016-07-21 11:48:56 +08:00
parent e2cc2838fd
commit a26c2e8888
3 changed files with 11 additions and 6 deletions

View File

@ -1,7 +1,7 @@
---
order: 2
iframe: true
title:
title:
zh-CN: 路由
en-US: React Router Integration
---
@ -44,7 +44,7 @@ const Home = (props) => (
borderBottom: '1px dashed #ccc',
}}
>
Click the navigation above to switch the page,breadcrumb is right here:
Click the navigation above to switch:
</div>
<Breadcrumb {...props} />
</div>

View File

@ -23,7 +23,7 @@ ReactDOM.render(
</Breadcrumb.Item>
<Breadcrumb.Item href="">
<Icon type="user" />
Application List
<span>Application List</span>
</Breadcrumb.Item>
<Breadcrumb.Item>
Application
@ -31,4 +31,3 @@ ReactDOM.render(
</Breadcrumb>
, mountNode);
````

View File

@ -8,6 +8,10 @@
a {
color: @text-color;
transition: all .3s;
&:hover {
color: tint(@primary-color, 20%);
}
}
& > span:last-child {
@ -24,7 +28,9 @@
color: @border-color-base;
}
.anticon + span {
margin-left: 4px;
&-link {
> .anticon + span {
margin-left: 4px;
}
}
}