From 4427b184668eeccf2c243b86f929ce1d7ebe74a9 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 17 Apr 2023 14:58:09 +0100 Subject: [PATCH] Use unique background for focused cell --- .../src/components/sheet/cells/SheetCell.svelte | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/frontend-core/src/components/sheet/cells/SheetCell.svelte b/packages/frontend-core/src/components/sheet/cells/SheetCell.svelte index 5b9cb4ee51..d016c581ea 100644 --- a/packages/frontend-core/src/components/sheet/cells/SheetCell.svelte +++ b/packages/frontend-core/src/components/sheet/cells/SheetCell.svelte @@ -121,11 +121,10 @@ .cell:hover { cursor: default; } - .cell.highlighted, - .cell.focused { + .cell.highlighted:not(.focused) { --cell-background: var(--cell-background-hover); } - .cell.selected { + .cell.selected:not(.focused) { --cell-background: var(--spectrum-global-color-blue-100); }