dropdown html structure changed

This commit is contained in:
Burak Civan
2022-09-21 09:55:54 +03:00
parent 0905924841
commit 09e86eaa71
11 changed files with 73 additions and 70 deletions

View File

@ -108,19 +108,19 @@
</x-slot>
@can('create-common-widgets')
<x-button
type="button"
id="show-more-actions-add-widget"
class="w-full flex items-center text-purple px-2 h-9 leading-9 whitespace-nowrap"
override="class"
title="{{ trans('general.title.add', ['type' => trans_choice('general.widgets', 1)]) }}"
@click="onCreateWidget()"
>
<span class="w-full h-full flex items-center rounded-md px-2 text-sm hover:bg-lilac-100">
<div class="w-full flex items-center text-purple px-2 h-9 leading-9 whitespace-nowrap">
<x-button
type="button"
id="show-more-actions-add-widget"
class="w-full h-full flex items-center rounded-md px-2 text-sm hover:bg-lilac-100"
override="class"
title="{{ trans('general.title.add', ['type' => trans_choice('general.widgets', 1)]) }}"
@click="onCreateWidget()"
>
{{ trans('general.title.add', ['type' => trans_choice('general.widgets', 1)]) }}
</span>
</x-button>
</x-button>
</div>
<x-dropdown.divider />
@endcan