Fix aliasing issue on focused field corners

This commit is contained in:
Matthias Metelka 2022-08-11 23:58:49 +02:00
parent 9a2b3410d0
commit 170ef0b310

View file

@ -203,17 +203,16 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
&:focus-within { &:focus-within {
outline: none; outline: none;
border-color: var(--focus-border);
&::after { &::after {
content: ""; content: "";
position: absolute; position: absolute;
top: 0; top: -1px;
right: 0; right: -1px;
bottom: 0; bottom: -1px;
left: 0; left: -1px;
pointer-events: none; pointer-events: none;
border-radius: 5px; border-radius: 5px;
box-shadow: inset 0 0 0 1px var(--focus-border); box-shadow: inset 0 0 0 2px var(--focus-border);
} }
} }
} }