From 170ef0b3102435437b5629d444cb0c5a2641716c Mon Sep 17 00:00:00 2001 From: Matthias Metelka <62722460+kleinerpirat@users.noreply.github.com> Date: Thu, 11 Aug 2022 23:58:49 +0200 Subject: [PATCH] Fix aliasing issue on focused field corners --- ts/editor/EditingArea.svelte | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ts/editor/EditingArea.svelte b/ts/editor/EditingArea.svelte index 5df3ffeed..b0c3f0fd3 100644 --- a/ts/editor/EditingArea.svelte +++ b/ts/editor/EditingArea.svelte @@ -203,17 +203,16 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html &:focus-within { outline: none; - border-color: var(--focus-border); &::after { content: ""; position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; + top: -1px; + right: -1px; + bottom: -1px; + left: -1px; pointer-events: none; border-radius: 5px; - box-shadow: inset 0 0 0 1px var(--focus-border); + box-shadow: inset 0 0 0 2px var(--focus-border); } } }