Skip to content

Commit

Permalink
Add default flex, gap-2 in sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed May 24, 2024
1 parent eca4f32 commit 7b187b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/cols.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class="{{ data_get($theme, 'table.thClass') . ' ' . $column->headerClass }}"
style="{{ $column->hidden === true ? 'display:none' : '' }}; width: max-content; @if ($column->sortable) cursor:pointer; @endif {{ data_get($theme, 'table.thStyle') . ' ' . $column->headerStyle }}"
>
<div
class="{{ data_get($theme, 'cols.divClass') }}"
@class(['flex gap-2' => !isBootstrap5(), data_get($theme, 'cols.divClass')])
style="{{ data_get($theme, 'cols.divStyle') }}"
>
<span data-value>{!! $column->title !!}</span>
Expand Down

0 comments on commit 7b187b8

Please sign in to comment.