提交 11353c7a 编写于 作者: A afc163

reset menu link color, fix #872

上级 29b99bbf
......@@ -35,7 +35,7 @@ const Sider = React.createClass({
<Menu.Item key="2">选项2</Menu.Item>
</MenuItemGroup>
<MenuItemGroup title="分组2">
<Menu.Item key="3">选项3</Menu.Item>
<Menu.Item key="3"><a href="#">选项3</a></Menu.Item>
<Menu.Item key="4">选项4</Menu.Item>
</MenuItemGroup>
</SubMenu>
......
......@@ -35,6 +35,14 @@
transition: all 0.3s ease;
}
&-item > a {
display: block;
color: @text-color;
&:hover {
color: @text-color;
}
}
&-item-active,
&-submenu-title:hover {
background-color: tint(@primary-color, 90%);
......@@ -58,7 +66,7 @@
&-vertical {
border-right: 1px solid #e9e9e9;
.@{menu-prefix-cls}-item {
border-right: 2px solid transparent;
border-right: 1px solid #e9e9e9;
margin-left: -1px;
left: 1px;
position: relative;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册