mirror of
https://github.com/ankitects/anki.git
synced 2025-12-16 08:10:59 -05:00
Fix aliasing issue on focused field corners
This commit is contained in:
parent
9a2b3410d0
commit
170ef0b310
1 changed files with 5 additions and 6 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue