diff --git a/templates/design/app/components/design/LayersPanel.tsx b/templates/design/app/components/design/LayersPanel.tsx index b23559f116..0d3112ed51 100644 --- a/templates/design/app/components/design/LayersPanel.tsx +++ b/templates/design/app/components/design/LayersPanel.tsx @@ -11,9 +11,9 @@ import { IconFrame, IconLayersSubtract, IconLayersUnion, + IconLayoutGrid, IconLock, IconLockOpen, - IconLayoutGrid, IconPencil, IconPlus, IconSearch, @@ -30,8 +30,8 @@ import { useMemo, useRef, useState, - type KeyboardEvent, type DragEvent, + type KeyboardEvent, type MouseEvent, type ReactNode, type Ref, @@ -2047,7 +2047,7 @@ const LayerRow = memo(function LayerRow({ aria-expanded={hasChildren ? isExpanded : undefined} aria-level={depth + 1} aria-selected={selectable ? isSelected : undefined} - className="relative min-w-full" + className="relative w-max min-w-full" draggable={draggable} onDragStart={handleDragStart} onDragOver={handleDragOver} @@ -2087,7 +2087,7 @@ const LayerRow = memo(function LayerRow({ ) : null}