Skip to content

Commit

Permalink
Removed a UI bug where the table header + column selector has slight …
Browse files Browse the repository at this point in the history
…white pixels on top (#1545)

* Removed weird left-top white pixels

* Removed wrong white pixels from column selector

* Instead of removing it, apply dark
  • Loading branch information
CorwinDev authored Nov 19, 2023
1 parent 629bfe8 commit db0689d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/table.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
>
<thead wire:key="{{ $tableName }}-thead"
{{ $attributes->merge($customAttributes['thead'])
->class(['bg-gray-50' => $customAttributes['thead']['default'] ?? true])
->class(['bg-gray-50 dark:bg-gray-800' => $customAttributes['thead']['default'] ?? true])
->except('default') }}
>
<tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class="inline-flex justify-center px-4 py-2 w-full text-sm font-medium text-gray
x-transition:leave="transition ease-in duration-75"
x-transition:leave-start="transform opacity-100 scale-100"
x-transition:leave-end="transform opacity-0 scale-95"
class="absolute right-0 z-50 mt-2 w-full bg-white rounded-md divide-y divide-gray-100 ring-1 ring-black ring-opacity-5 shadow-lg origin-top-right md:w-48 focus:outline-none"
class="absolute right-0 z-50 mt-2 w-full rounded-md divide-y divide-gray-100 ring-1 ring-black ring-opacity-5 shadow-lg origin-top-right md:w-48 focus:outline-none"
>
<div class="bg-white rounded-md shadow-xs dark:bg-gray-700 dark:text-white">
<div class="p-2" role="menu" aria-orientation="vertical"
Expand Down

0 comments on commit db0689d

Please sign in to comment.