Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sidebar中Link a标签字体颜色问题 #25

Closed
johnnylc opened this issue Nov 21, 2018 · 5 comments
Closed

sidebar中Link a标签字体颜色问题 #25

johnnylc opened this issue Nov 21, 2018 · 5 comments

Comments

@johnnylc
Copy link
Contributor

johnnylc commented Nov 21, 2018

当使用light或者gray侧边栏皮肤时,存在两个问题:
1,单级menu和submenu的字体颜色存在区别
differencolor
2,清空缓存初次开启页面时,在sidebar collapse状态下未加载标签的hover tooltip颜色异常
unnormal

经调试发现样式被assets/index.less中的a标签相关样式覆盖
fix

注释以上样式代码中
a,
a:link {
text-decoration: none;
color: #333;
}
可修复,不确定是否会影响框架其他功能

@johnnylc
Copy link
Contributor Author

后发现注释掉 color: #333; 就可以了

@weiq
Copy link
Contributor

weiq commented Nov 22, 2018

第二个问题,我本地是这样的
111

@weiq
Copy link
Contributor

weiq commented Nov 22, 2018

第一个问题
a,
a:link {
text-decoration: none;
color: #333;
}
这些样式是为了覆盖antd的a标签样式,这块我在改一下

@weiq
Copy link
Contributor

weiq commented Nov 22, 2018

@johnnylc 已修复

@johnnylc
Copy link
Contributor Author

测试没问题 感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants