Skip to content

Commit

Permalink
make selector more specific and remove !important tag
Browse files Browse the repository at this point in the history
  • Loading branch information
interim17 committed Dec 5, 2024
1 parent 14b493f commit c7b0ae1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/CustomDropdown/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
gap: 4px;
}

.menu :global(.ant-dropdown-menu-submenu-title),
.menu :global(.ant-dropdown-menu-item-only-child) {
padding: 0px !important;
.menu-wrapper .menu :global(.ant-dropdown-menu-submenu-title),
.menu-wrapper .menu :global(.ant-dropdown-menu-item-only-child) {
padding: 0px;
}

0 comments on commit c7b0ae1

Please sign in to comment.