|
@@ -66,16 +66,16 @@
|
66
|
66
|
]) }}
|
67
|
67
|
>
|
68
|
68
|
@if (count($containers) || $emptyLabel !== false)
|
69
|
|
- <div class="table-repeater-container rounded-xl relative ring-1 ring-gray-950/5 dark:ring-white/20">
|
|
69
|
+ <div class="table-repeater-container rounded-sm relative ring-1 ring-gray-950/5 dark:ring-white/20">
|
70
|
70
|
<table class="w-full">
|
71
|
71
|
<thead @class([
|
72
|
72
|
'table-repeater-header-hidden sr-only' => ! $renderHeader,
|
73
|
|
- 'table-repeater-header rounded-t-xl overflow-hidden border-b border-gray-950/5 dark:border-white/20' => $renderHeader,
|
|
73
|
+ 'table-repeater-header overflow-hidden border-b border-gray-950/5 dark:border-white/20' => $renderHeader,
|
74
|
74
|
])>
|
75
|
75
|
<tr class="text-xs md:divide-x rtl:divide-x-reverse md:divide-gray-950/5 dark:md:divide-white/20">
|
76
|
76
|
{{-- Move actions column to start if reorderAtStart is true --}}
|
77
|
77
|
@if ($hasActions && count($containers) && $reorderAtStart)
|
78
|
|
- <th class="table-repeater-header-column w-px first:rounded-tl-xl rtl:first:rounded-tr-xl rtl:first:rounded-tl-none p-2 bg-gray-100 dark:bg-gray-900/60">
|
|
78
|
+ <th class="table-repeater-header-column w-px first:rounded-tl-sm rtl:first:rounded-tr-sm rtl:first:rounded-tl-none p-2 bg-gray-100 dark:bg-gray-900/60">
|
79
|
79
|
<span class="sr-only">
|
80
|
80
|
{{ trans('table-repeater::components.repeater.row_actions.label') }}
|
81
|
81
|
</span>
|
|
@@ -85,7 +85,7 @@
|
85
|
85
|
@foreach ($headers as $key => $header)
|
86
|
86
|
<th
|
87
|
87
|
@class([
|
88
|
|
- 'table-repeater-header-column p-2 font-medium first:rounded-tl-xl rtl:first:rounded-tr-xl rtl:first:rounded-tl-none last:rounded-tr-xl bg-gray-100 dark:text-gray-300 dark:bg-gray-900/60',
|
|
88
|
+ 'table-repeater-header-column p-2 font-medium first:rounded-tl-sm rtl:first:rounded-tr-sm rtl:first:rounded-tl-none last:rounded-tr-sm bg-gray-100 dark:text-gray-300 dark:bg-gray-900/60',
|
89
|
89
|
match($header->getAlignment()) {
|
90
|
90
|
'center', Alignment::Center => 'text-center',
|
91
|
91
|
'right', 'end', Alignment::Right, Alignment::End => 'text-end',
|
|
@@ -104,7 +104,7 @@
|
104
|
104
|
@endforeach
|
105
|
105
|
|
106
|
106
|
@if ($hasActions && count($containers))
|
107
|
|
- <th class="table-repeater-header-column w-px last:rounded-tr-xl rtl:last:rounded-tr-none rtl:last:rounded-tl-xl p-2 bg-gray-100 dark:bg-gray-900/60">
|
|
107
|
+ <th class="table-repeater-header-column w-px last:rounded-tr-sm rtl:last:rounded-tr-none rtl:last:rounded-tl-sm p-2 bg-gray-100 dark:bg-gray-900/60">
|
108
|
108
|
<span class="sr-only">
|
109
|
109
|
{{ trans('table-repeater::components.repeater.row_actions.label') }}
|
110
|
110
|
</span>
|