fix: issue with focus states in safari, fixed multiple focus states accross the application
Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user