Skip to content

Commit 36192c9

Browse files
DaisyUI small layout issues fixes
1 parent 6956a21 commit 36192c9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

resources/views/components/frameworks/daisyui/header/enabled-filters.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@if (count($enabledFilters))
33
<div
44
data-cy="enabled-filters"
5-
class="pg-enabled-filters-base flex gap-2 items-center"
5+
class="pg-enabled-filters-base mb-3 flex gap-2 items-center"
66
>
77
@if (count($enabledFilters) > 1)
88
<div class="flex group items-center cursor-pointer">

resources/views/components/frameworks/daisyui/header/multi-sort.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
wire:key="{{ $tableName }}-multi-sort-{{ $field }}"
1111
wire:click.prevent="sortBy('{{ $field }}')"
1212
title="{{ __(':label :sort', ['label' => $label, 'sort' => $sort]) }}"
13-
class="badge badge-sm badge-primary"
13+
class="badge cursor-pointer badge-sm badge-primary"
1414
>
1515
{{ $label }}
1616
@if ($sort == 'desc')

src/Themes/DaisyUI.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public function table(): array
1010
{
1111
return [
1212
'layout' => [
13-
'base' => 'p-3 space-y-3 align-middle inline-block min-w-full w-full sm:px-6 lg:px-8',
13+
'base' => 'p-3 align-middle inline-block min-w-full w-full sm:px-6 lg:px-8',
1414
'div' => 'rounded-t-lg relative border-x border-t border-base-300',
1515
'table' => 'table table-zebra',
1616
'container' => '-my-2 overflow-x-auto sm:-mx-3 lg:-mx-8',

0 commit comments

Comments
 (0)