Skip to content

Commit

Permalink
fix: edit action trigger area
Browse files Browse the repository at this point in the history
  • Loading branch information
saade committed Feb 15, 2024
1 parent 48d7197 commit 809da20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/components/item.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<div
class="flex justify-between w-full bg-white border border-gray-300 rounded-lg fi-adjacency-list-item dark:bg-gray-900 dark:border-white/10 group">
<div class="flex">
<div class="flex flex-1">
@if ($reorderable)
<div
class="flex items-center justify-center w-10 px-2 border-r border-gray-300 rounded-l-lg bg-gray-50 rtl:rounded-r-lg rtl:border-r-0 rtl:border-l dark:bg-gray-800 dark:border-white/10">
Expand All @@ -44,7 +44,7 @@ class="px-2 text-gray-500 appearance-none"
<button
type="button"
@class([
'w-full py-2 text-left rtl:text-right appearance-none',
'flex-1 py-2 text-left rtl:text-right appearance-none',
'px-4' => !$isCollapsible || !$hasChildren,
'cursor-default' => $disabled || !$editable,
])
Expand Down

0 comments on commit 809da20

Please sign in to comment.