Skip to content

Commit

Permalink
[5.x] Fix issues with the Files fieldtype in Dark Mode (#10999)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean authored Oct 23, 2024
1 parent dca072d commit 58b912f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/components/fieldtypes/FilesFieldtype.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<tr
v-for="(file, i) in value"
:key="file"
class="asset-row bg-white hover:bg-gray-100"
class="asset-row bg-white dark:bg-dark-600 hover:bg-gray-100"
>
<td class="flex items-center">
<div
Expand All @@ -53,7 +53,7 @@
<td class="p-0 w-8 rtl:text-left ltr:text-right align-middle">
<button
@click="remove(i)"
class="flex items-center p-2 w-full h-full text-gray-600 hover:text-gray-900"
class="flex items-center p-2 w-full h-full text-gray-600 dark:text-dark-150 hover:text-gray-950 dark:hover:text-dark-100"
>
<svg-icon name="micro/trash" class="w-6 h-6" />
</button>
Expand Down

0 comments on commit 58b912f

Please sign in to comment.