Skip to content

Commit 48cfeae

Browse files
Update table.blade.php
Modified to make width() method work.
1 parent 57bd9dd commit 48cfeae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/components/table.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<tr>
1515
{{-- Renders all the headers --}}
1616
@foreach ($headers as $header)
17-
<th class="px-3 py-3" {{ is_object($header) && ! empty($header->width) ? 'width="' . $header->width . '"' : '' }}>
17+
<th class="px-3 py-3" {{ is_object($header) && ! empty($header->width) ? 'width=' . $header->width . '' : '' }}>
1818
@if (is_string($header))
1919
{{ $header }}
2020
@else

0 commit comments

Comments
 (0)