Skip to content

Commit

Permalink
fix(BaseDropdown): add menu wrapper in classes
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Mar 23, 2024
1 parent 57d849c commit dbbd4f1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion components/base/BaseDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ const props = withDefaults(
wrapper?: string | string[]
/**
* CSS classes to apply to the menu element.
* CSS classes to apply to the headless ui menu element.
*/
menuWrapper?: string | string[]
/**
* CSS classes to apply to the dropdown menu element.
*/
menu?: string | string[]
Expand Down Expand Up @@ -168,6 +173,7 @@ const colors = {
v-slot="{ open, close }: { open: boolean; close: () => void }"
as="div"
class="nui-menu"
:class="props.classes?.menuWrapper"
>
<Float
enter="transition duration-100 ease-out"
Expand Down

0 comments on commit dbbd4f1

Please sign in to comment.