Skip to content

Commit 2f5fc55

Browse files
committed
fix: change dropdown width to w-max for better responsiveness
1 parent ef4a92f commit 2f5fc55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/spa/src/components/ThreeDotsMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
'hidden': !showDropdown,
1919
'left-0 md:left-auto': checkboxes && checkboxes.length > 0
2020
}"
21-
class="absolute z-30 mt-3 bg-lightThreeDotsMenuBodyBackground divide-y divide-gray-100 rounded-lg shadow w-auto max-w-64 dark:bg-darkThreeDotsMenuBodyBackground dark:divide-gray-600 right-0">
21+
class="absolute z-30 mt-3 bg-lightThreeDotsMenuBodyBackground divide-y divide-gray-100 rounded-lg shadow w-max max-w-64 dark:bg-darkThreeDotsMenuBodyBackground dark:divide-gray-600 right-0">
2222
<ul class="py-2 text-sm text-lightThreeDotsMenuBodyText dark:text-darkThreeDotsMenuBodyText" aria-labelledby="dropdownMenuIconButton">
2323
<li v-for="(item, i) in threeDotsDropdownItems" :key="`dropdown-item-${i}`">
2424
<div

0 commit comments

Comments
 (0)