Skip to content

Commit 44ae7f1

Browse files
author
undefined
committed
fix: dropdown menuitem danger not work #4618
close #4618
1 parent c213c83 commit 44ae7f1

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

components/dropdown/style/index.less

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import '../../style/themes/index';
22
@import '../../style/mixins/index';
3+
@import './status';
34

45
@dropdown-prefix-cls: ~'@{ant-prefix}-dropdown';
56

components/dropdown/style/status.less

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@import './index';
2+
3+
.@{dropdown-prefix-cls}-menu-item {
4+
&&-danger {
5+
color: @error-color;
6+
7+
&:hover {
8+
color: @text-color-inverse;
9+
background-color: @error-color;
10+
}
11+
}
12+
}

v2-doc

Submodule v2-doc updated 93 files

0 commit comments

Comments
 (0)