Skip to content

Commit

Permalink
* dropdown: fix dropdown with menu wrapper not work.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Nov 28, 2023
1 parent 21b15b3 commit 4886b22
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/dropdown/src/style/dropdown.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
.dropdown {
@apply -absolute -z-dropdown;
}

.dropdown-menu {
@apply -hidden -absolute;
--menu-min-width: 7rem;
}
.show > .dropdown-menu,
.show > .menu-wrapper,
.is-nested-show > .dropdown-menu,
.dropdown-menu.show {
.dropdown-menu.show,
.menu-wrapper > .dropdown-menu {
@apply -block;
}

.menu-wrapper > .dropdown-menu,
.popover > .dropdown-menu {
@apply -relative;
}
Expand Down

0 comments on commit 4886b22

Please sign in to comment.