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

fix: disabled样式优先级,submeu样式全局污染 #20

Closed
wants to merge 1 commit into from
Closed

fix: disabled样式优先级,submeu样式全局污染 #20

wants to merge 1 commit into from

Conversation

xiaoyindong
Copy link
Contributor

1、组件在乐高中使用,disabled样式被乐高冲突,使用important提升了组件样式优先级。
2、kuma-dropdown-menu-submeu 样式原为全局样式,添加命名空间。

@@ -71,7 +71,7 @@
}
}
&-disabled {
background: @bg-disabled-color;
background: @bg-disabled-color!important;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

组件层尽量不要使用 importantt

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.6%) to 87.952% when pulling 5e54fa4 on yingView:master into cc508f3 on uxcore:master.

@eternalsky
Copy link
Member

这个 pr 发布的时候要注意下,大概率是一个破坏性版本。

@lpgray lpgray closed this Jun 7, 2018
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

Successfully merging this pull request may close these issues.

None yet

4 participants