Skip to content

Commit

Permalink
refactor(action-menu): [action-menu] refactor styles for action-menu
Browse files Browse the repository at this point in the history
  • Loading branch information
MomoPoppy committed Oct 22, 2024
1 parent ddf2900 commit 0ed6338
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/theme/src/action-menu/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
// 默认
&.@{action-menu-prefix-cls}__item-visable {
.@{dropdown-item-prefix-cls} {
padding: 0;

.@{dropdown-item-prefix-cls}__wrap {
color: var(--tv-ActionMenu-text-color);
margin: 0px;
Expand All @@ -50,8 +52,12 @@

// 悬浮
&:not(.is-disabled):hover {
.@{dropdown-item-prefix-cls}__wrap {
text-decoration: underline;
.@{dropdown-item-prefix-cls} {
background-color: unset;

.@{dropdown-item-prefix-cls}__wrap {
text-decoration: underline;
}
}
}

Expand Down

0 comments on commit 0ed6338

Please sign in to comment.