Skip to content

Commit 6d5dee5

Browse files
committed
Merge branch 'next' of github.com:devforth/adminforth into next
2 parents 38aca18 + e92583c commit 6d5dee5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

adminforth/spa/src/components/ThreeDotsMenu.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@
1313
<!-- Dropdown menu -->
1414
<div
1515
ref="dropdownRef"
16-
:class="{'hidden': !showDropdown, 'block': showDropdown }"
17-
class="absolute z-30 right-0 mt-3 bg-lightThreeDotsMenuBodyBackground divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-darkThreeDotsMenuBodyBackground dark:divide-gray-600">
16+
:class="{
17+
'block': showDropdown,
18+
'hidden': !showDropdown,
19+
'left-0 md:left-auto': checkboxes && checkboxes.length > 0
20+
}"
21+
class="absolute z-30 mt-3 bg-lightThreeDotsMenuBodyBackground divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-darkThreeDotsMenuBodyBackground dark:divide-gray-600 right-0">
1822
<ul class="py-2 text-sm text-lightThreeDotsMenuBodyText dark:text-darkThreeDotsMenuBodyText" aria-labelledby="dropdownMenuIconButton">
1923
<li v-for="(item, i) in threeDotsDropdownItems" :key="`dropdown-item-${i}`">
2024
<div

0 commit comments

Comments
 (0)