Skip to content

Commit ab52014

Browse files
authored
[6.x] Remove the inset style for relationship fields to make dark mode more consistent (#13784)
1 parent 527bdc5 commit ab52014

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • resources/js/components/inputs/relationship

resources/js/components/inputs/relationship/Item.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<template>
22
<div
3-
class="shadow-ui-sm relative z-(--z-index-above) flex w-full h-full items-center gap-2 rounded-lg border border-gray-300 bg-white px-3 [&:has(.cursor-grab)]:px-1.5 py-1.5 mb-1.5 last:mb-0 text-base dark:border-x-0 dark:border-t-0 dark:border-white/10 dark:bg-gray-900 dark:inset-shadow-2xs dark:inset-shadow-black"
3+
class="shadow-ui-sm relative z-(--z-index-above) flex w-full h-full items-center gap-2 rounded-lg border border-gray-300 bg-white px-3 [&:has(.cursor-grab)]:px-1.5 py-1.5 mb-1.5 last:mb-0 text-base dark:border-gray-700 dark:with-contrast:border-gray-500 dark:bg-gray-900"
44
:class="{ invalid: item.invalid }"
55
>
6-
<ui-icon name="handles" class="item-move sortable-handle size-4 cursor-grab text-gray-300 dark:text-gray-600" v-if="sortable" />
6+
<ui-icon name="handles" class="item-move sortable-handle size-4 cursor-grab text-gray-300 dark:text-gray-700" v-if="sortable" />
77
<div class="flex flex-1 items-center line-clamp-1 text-sm text-gray-600 dark:text-gray-300">
88
<ui-status-indicator v-if="item.status" :status="item.status" class="me-2" />
99

0 commit comments

Comments
 (0)