th and td classnames edited for bulkaction

This commit is contained in:
Burak Civan
2022-08-09 15:40:22 +03:00
parent 9572cf5df6
commit 04f75754f4
15 changed files with 31 additions and 25 deletions

View File

@@ -45,7 +45,7 @@
<x-table>
<x-table.thead>
<x-table.tr>
<x-table.th class="ltr:pr-6 rtl:pl-6 hidden sm:table-cell" hidden-mobile override="class">
<x-table.th kind="bulkaction">
<x-index.bulkaction.all />
</x-table.th>
@@ -66,7 +66,7 @@
<x-table.tbody>
@foreach($categories as $item)
<x-table.tr href="{{ route('categories.edit', $item->id) }}" class="relative flex items-center border-b hover:bg-gray-100 px-1 group transition-all">
<x-table.td class="ltr:pr-6 rtl:pl-6 hidden sm:table-cell" hidden-mobile override="class">
<x-table.td kind="bulkaction">
<x-index.bulkaction.single id="{{ $item->id }}" name="{{ $item->name }}" />
</x-table.td>

View File

@@ -1,6 +1,6 @@
@if ($sub_category->sub_categories)
<x-table.tr data-collapse="child-{{ $parent_category->id }}" data-animation class="relative flex items-center hover:bg-gray-100 px-1 group border-b transition-all collapse-sub" href="{{ route('categories.edit', $sub_category->id) }}">
<x-table.td class="ltr:pr-6 rtl:pl-6 hidden sm:table-cell" hidden-mobile override="class">
<x-table.td kind="bulkaction">
<x-index.bulkaction.single id="{{ $sub_category->id }}" name="{{ $sub_category->name }}" />
</x-table.td>

View File

@@ -27,7 +27,7 @@
<x-table>
<x-table.thead>
<x-table.tr>
<x-table.th class="ltr:pr-6 rtl:pl-6 hidden sm:table-cell" hidden-mobile override="class">
<x-table.th kind="bulkaction">
<x-index.bulkaction.all />
</x-table.th>
@@ -52,7 +52,7 @@
<x-table.tbody>
@foreach($currencies as $item)
<x-table.tr href="{{ route('currencies.edit', $item->id) }}">
<x-table.td class="ltr:pr-6 rtl:pl-6 hidden sm:table-cell" hidden-mobile override="class">
<x-table.td kind="bulkaction">
<x-index.bulkaction.single id="{{ $item->id }}" name="{{ $item->name }}" />
</x-table.td>

View File

@@ -46,7 +46,7 @@
<x-table>
<x-table.thead>
<x-table.tr>
<x-table.th class="ltr:pr-6 rtl:pl-6 hidden sm:table-cell" hidden-mobile override="class">
<x-table.th kind="bulkaction">
<x-index.bulkaction.all />
</x-table.th>
@@ -67,7 +67,7 @@
<x-table.tbody>
@foreach($taxes as $item)
<x-table.tr href="{{ route('taxes.edit', $item->id) }}">
<x-table.td class="ltr:pr-6 rtl:pl-6 hidden sm:table-cell" hidden-mobile override="class">
<x-table.td kind="bulkaction">
<x-index.bulkaction.single id="{{ $item->id }}" name="{{ $item->name }}" />
</x-table.td>