From 1ed0c5d3cad9f0803bbbce7aa607e92fa22653b7 Mon Sep 17 00:00:00 2001 From: Richard Leishman Date: Mon, 21 Oct 2024 18:52:07 +0100 Subject: [PATCH] Fix bug #1997 - Found the issue elsewhere also, so I fixed them too. --- resources/views/components/table/th.blade.php | 12 ++++++------ resources/views/components/table/th/plain.blade.php | 4 ++-- .../views/components/table/th/reorder.blade.php | 4 ++-- .../tools/toolbar/items/search-field.blade.php | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/resources/views/components/table/th.blade.php b/resources/views/components/table/th.blade.php index b12366dc7..3afee536c 100644 --- a/resources/views/components/table/th.blade.php +++ b/resources/views/components/table/th.blade.php @@ -20,8 +20,8 @@ @if ($isTailwind) merge($customThAttributes) - ->class(['text-gray-500 dark:bg-gray-800 dark:text-gray-400' => ($customThAttributes['default-colors'] ?? true || $customThAttributes['default'] ?? true)]) - ->class(['px-6 py-3 text-left text-xs font-medium whitespace-nowrap uppercase tracking-wider' => ($customThAttributes['default-styling'] ?? true || $customThAttributes['default'] ?? true)]) + ->class(['text-gray-500 dark:bg-gray-800 dark:text-gray-400' => (($customThAttributes['default-colors'] ?? true) || ($customThAttributes['default'] ?? true))]) + ->class(['px-6 py-3 text-left text-xs font-medium whitespace-nowrap uppercase tracking-wider' => (($customThAttributes['default-styling'] ?? true) || ($customThAttributes['default'] ?? true))]) ->class(['hidden' => $column->shouldCollapseAlways()]) ->class(['hidden md:table-cell' => $column->shouldCollapseOnMobile()]) ->class(['hidden lg:table-cell' => $column->shouldCollapseOnTablet()]) @@ -35,8 +35,8 @@