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

@ -22,18 +22,18 @@
</x-slot>
@can('update-common-widgets')
<x-button
type="button"
id="show-more-actions-edit-widget-{{ $class->model->id }}"
class="w-full flex items-center text-purple px-2 h-9 leading-9 whitespace-nowrap"
override="class"
title="{{ trans('general.edit') }}"
@click="onEditWidget('{{ $class->model->id }}')"
>
<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-edit-widget-{{ $class->model->id }}"
class="w-full h-full flex items-center rounded-md px-2 text-sm hover:bg-lilac-100"
override="class"
title="{{ trans('general.edit') }}"
@click="onEditWidget('{{ $class->model->id }}')"
>
{{ trans('general.edit') }}
</span>
</x-button>
</x-button>
</div>
@endcan
@can('delete-common-widgets')