fix: dropdown menuitem danger not work #4618

close #4618
pull/4624/head
undefined 2021-09-06 21:26:43 +08:00
parent c213c83844
commit 44ae7f1b93
3 changed files with 14 additions and 1 deletions

View File

@ -1,5 +1,6 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@import './status';
@dropdown-prefix-cls: ~'@{ant-prefix}-dropdown';

View File

@ -0,0 +1,12 @@
@import './index';
.@{dropdown-prefix-cls}-menu-item {
&&-danger {
color: @error-color;
&:hover {
color: @text-color-inverse;
background-color: @error-color;
}
}
}

2
v2-doc

@ -1 +1 @@
Subproject commit 17abe8a32a993726902f52e153f5470c1ffba02a
Subproject commit 371725edee4a3af9d21b50bba5faf37594d16279