mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	fix dropdown issues
This commit is contained in:
		| @ -69,6 +69,7 @@ | |||||||
|     <router-link :to="`/admin/payments/${row.id}/create`"> |     <router-link :to="`/admin/payments/${row.id}/create`"> | ||||||
|       <BaseDropdownItem |       <BaseDropdownItem | ||||||
|         v-if="row.status == 'SENT' && route.name !== 'invoices.view'" |         v-if="row.status == 'SENT' && route.name !== 'invoices.view'" | ||||||
|  |         v-slot="slotProps" | ||||||
|       > |       > | ||||||
|         <BaseIcon |         <BaseIcon | ||||||
|           name="CreditCardIcon" |           name="CreditCardIcon" | ||||||
|  | |||||||
| @ -125,13 +125,13 @@ | |||||||
|                     justify-center |                     justify-center | ||||||
|                     mr-3 |                     mr-3 | ||||||
|                     overflow-hidden |                     overflow-hidden | ||||||
|                     text-base |                     text-sm | ||||||
|                     font-semibold |                     font-semibold | ||||||
|                     bg-gray-200 |                     bg-gray-200 | ||||||
|                     rounded-md |                     rounded-md | ||||||
|                     w-9 |                     w-9 | ||||||
|                     h-9 |                     h-9 | ||||||
|                     text-primary-50 |                     text-primary-500 | ||||||
|                     dark:bg-gray-900 |                     dark:bg-gray-900 | ||||||
|                     " |                     " | ||||||
|                   > |                   > | ||||||
|  | |||||||
| @ -2,7 +2,8 @@ | |||||||
|   <MenuItem v-slot="{ active }" v-bind="$attrs"> |   <MenuItem v-slot="{ active }" v-bind="$attrs"> | ||||||
|     <a |     <a | ||||||
|       href="#" |       href="#" | ||||||
|       class="group flex items-center px-4 py-2 text-sm font-normal" :class="[ |       class="group flex items-center px-4 py-2 text-sm font-normal" | ||||||
|  |       :class="[ | ||||||
|         active |         active | ||||||
|           ? 'bg-gray-100 text-gray-900 dark:text-white dark:bg-gray-700' |           ? 'bg-gray-100 text-gray-900 dark:text-white dark:bg-gray-700' | ||||||
|           : 'text-gray-700 dark:text-gray-200', |           : 'text-gray-700 dark:text-gray-200', | ||||||
| @ -15,6 +16,6 @@ | |||||||
|  |  | ||||||
| <script setup> | <script setup> | ||||||
| import { MenuItem } from '@headlessui/vue' | import { MenuItem } from '@headlessui/vue' | ||||||
| const defaultIconClass | const defaultIconClass = | ||||||
|   = 'w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500 dark:text-gray-400 dark:group-hover:text-white' |   'w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500 dark:text-gray-400 dark:group-hover:text-white' | ||||||
| </script> | </script> | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user