From 96fdcb6d931fbee238760f1e196b73d2d50a51c2 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 16 Nov 2021 11:47:03 +0000 Subject: [PATCH] Remove focus style on contenteditable components in chrome --- packages/client/src/components/CustomThemeWrapper.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/client/src/components/CustomThemeWrapper.svelte b/packages/client/src/components/CustomThemeWrapper.svelte index 9b466bb7d7..c656b09306 100644 --- a/packages/client/src/components/CustomThemeWrapper.svelte +++ b/packages/client/src/components/CustomThemeWrapper.svelte @@ -79,4 +79,9 @@ scrollbar-color: var(--spectrum-global-color-gray-400) var(--spectrum-alias-background-color-default); } + + /* Remove border when editing contenteditable components */ + :global(*[contenteditable="true"]:focus) { + outline: none; + }