Skip to content

Commit

Permalink
chore: enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
frknasir committed May 3, 2022
1 parent fd4173b commit 352c440
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions resources/views/tile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
</div>
</div>
<!-- Filters -->
@if (!empty($table->searchColumns) || !empty($table->availableFilters))
<section x-data="{ open: false }" aria-labelledby="filter-heading" class="relative z-10 border-t border-b border-gray-200 grid items-center">
<h2 id="filter-heading" class="sr-only">Filters</h2>
@if (!empty($table->availableFilters))
<div class="relative col-start-1 row-start-1 py-4">
<div class="max-w-7xl mx-auto flex space-x-6 divide-x divide-gray-200 text-sm px-4 sm:px-6 lg:px-8">
<div>
Expand Down Expand Up @@ -52,6 +54,8 @@
</div>
</div>
</div>
@endif
@if (!empty($table->searchColumns))
<div class="col-start-1 row-start-1 py-4">
<div class="flex justify-end max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="relative inline-block rounded-md">
Expand All @@ -64,7 +68,9 @@
</div>
</div>
</div>
@endif
</section>
@endif
<div class="px-4 h-full overflow-auto">
<div class="flex flex-col mb-40">
<div class="-my-2 -mx-4 overflow-x-hidden">
Expand Down

0 comments on commit 352c440

Please sign in to comment.