Skip to content

Commit 375b80b

Browse files
committed
Update CommandCenterGrid.tsx
1 parent cb67ebd commit 375b80b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

apps/code/src/renderer/features/command-center/components/CommandCenterGrid.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,7 @@ function GridCell({
103103
// biome-ignore lint/a11y/useKeyWithClickEvents lint/a11y/noStaticElementInteractions: click delegates focus to ActionSelector within
104104
<div
105105
ref={cellRef}
106-
className={`relative overflow-hidden bg-gray-1 focus-within:ring-2 focus-within:ring-accent-9 focus-within:ring-inset ${
107-
isActive ? "ring-2 ring-accent-9 ring-inset" : ""
108-
}`}
106+
className="relative overflow-hidden bg-gray-1"
109107
onClick={handleCellClick}
110108
onPointerDownCapture={handleCellPointerDownCapture}
111109
onFocusCapture={handleCellFocusCapture}
@@ -118,6 +116,9 @@ function GridCell({
118116
>
119117
<CommandCenterPanel cell={cell} isActiveSession={isActive} />
120118
</div>
119+
{isActive && (
120+
<div className="pointer-events-none absolute inset-0 border-2 border-accent-9" />
121+
)}
121122
{isDragActive && (
122123
// biome-ignore lint/a11y/noStaticElementInteractions: transparent overlay to capture drag events over session content
123124
<div

0 commit comments

Comments
 (0)