Skip to content

Commit

Permalink
feat(livewire-tables) adiciona estilos
Browse files Browse the repository at this point in the history
  • Loading branch information
irineujunior committed Aug 14, 2024
1 parent 198e349 commit 2332726
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@elseif ($component->isBootstrap())
<td {{ $attributes
->merge($customAttributes)
->class(['ps-4' => $customAttributes['default'] ?? true])
->class(['w-1 pe-0' => $customAttributes['default'] ?? true])
->class(['d-none' => $column && $column->shouldCollapseAlways()])
->class(['d-none d-md-table-cell' => $column && $column->shouldCollapseOnMobile()])
->class(['d-none d-lg-table-cell' => $column && $column->shouldCollapseOnTablet()])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<th x-cloak {{ $attributes }} scope="col"
{{ $attributes->merge($customAttributes)->class([
'laravel-livewire-tables-reorderingMinimised',
'w-1'
'w-1',
'pe-0',
]) }}
@if($hideUntilReorder) :class="!reorderDisplayColumn && 'w-0 p-0 hidden'" @endif
>
Expand Down

0 comments on commit 2332726

Please sign in to comment.