fix: issue with focus states in safari, fixed multiple focus states accross the application

Approved-by: Anton Gunnarsson
This commit is contained in:
Erik Tiekstra
2026-01-26 06:45:23 +00:00
parent c918c1aa66
commit 5a4a65ec33
9 changed files with 21 additions and 26 deletions

View File

@@ -47,6 +47,22 @@
}
.link {
display: block;
text-decoration: none;
color: inherit;
position: relative;
&:focus-visible {
outline: none;
&::before {
content: "";
position: absolute;
inset: 0px;
border: 2px solid var(--Border-Interactive-Focus);
border-radius: var(--Corner-Radius-md);
pointer-events: none;
z-index: 1;
}
}
}