Skip to content

Commit

Permalink
fix max-content in table column
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed May 1, 2021
1 parent d3509db commit 512845e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions resources/views/tailwind/2/table.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ class="shadow overflow-hidden border-b border-gray-200 sm:rounded-lg overflow-x-

<th
class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
style="@if($column->sortable) cursor:pointer; @endif {{ ($column->header_style != '') ? $column->header_style:'' }}"
style="width: max-content;@if($column->sortable)cursor:pointer; @endif {{ ($column->header_style != '') ? $column->header_style:'' }}"
>
<div class="align-content-between"
style="align-items: center; justify-content: left;width: max-content;">
<div class="align-content-between">
@if($column->sortable === true)
<span class="text-base pr-2">
@if ($orderBy !== $column->field)
Expand Down

0 comments on commit 512845e

Please sign in to comment.