File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public function __construct(
15
15
public ?string $ icon = 'o-chevron-down ' ,
16
16
public ?bool $ right = false ,
17
17
18
- //Slots
18
+ // Slots
19
19
public mixed $ trigger = null
20
20
) {
21
21
$ this ->uuid = "mary " . md5 (serialize ($ this ));
@@ -44,12 +44,12 @@ class="dropdown"
44
44
@endif
45
45
46
46
<ul
47
- class="p-2 shadow menu z-[1] border border-base-200 bg-base-100 dark:bg-base-200 rounded-box whitespace-nowrap "
47
+ class="p-2 shadow menu z-[1] border border-base-200 bg-base-100 dark:bg-base-200 rounded-box w-auto min-w-max "
48
48
@click="open = false"
49
49
x-anchor.{{ $right ? 'bottom-end' : 'bottom-start' }}="$refs.button"
50
50
>
51
51
<div wire:key="dropdown-slot-{{ $uuid }}">
52
- {{ $slot }}
52
+ {{ $slot }}
53
53
</div>
54
54
</ul>
55
55
</details>
You can’t perform that action at this time.
0 commit comments