From 2c095722d0eb5a87d47a0671ae17d40555b4b13b Mon Sep 17 00:00:00 2001 From: manthan-jsharma Date: Mon, 28 Aug 2023 17:23:32 +0530 Subject: [PATCH] fix: cell loses focus when clicking on its outline --- .../cell-fabric/data-types/components/CellWrapper.svelte | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mathesar_ui/src/components/cell-fabric/data-types/components/CellWrapper.svelte b/mathesar_ui/src/components/cell-fabric/data-types/components/CellWrapper.svelte index a731edd395..e4d492ec51 100644 --- a/mathesar_ui/src/components/cell-fabric/data-types/components/CellWrapper.svelte +++ b/mathesar_ui/src/components/cell-fabric/data-types/components/CellWrapper.svelte @@ -143,11 +143,10 @@ } &.is-active { - box-shadow: 0 0 0 2px var(--slate-300); - border-radius: 2px; + box-shadow: inset 0 0 0 2px var(--slate-300); &.is-focused { - box-shadow: 0 0 0 2px var(--sky-700); + box-shadow: inset 0 0 0 2px var(--sky-700); } }