Skip to content

Commit 2f58702

Browse files
committed
feat(skip nav link): implement skipnav to match new design
1 parent 896796c commit 2f58702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/SkipLink.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import { BaseLink } from "./ui/Link"
77
export const SkipLink = () => {
88
const { t } = useTranslation()
99
return (
10-
<div className="bg-primary">
10+
<div className="bg-primary-low-contrast focus-within:p-4">
1111
<BaseLink
1212
href={"#" + MAIN_CONTENT_ID}
13-
className="absolute -top-12 ms-2 leading-8 text-background no-underline hover:no-underline focus:static"
13+
className="absolute -top-12 rounded border bg-primary px-4 py-2 leading-8 text-background no-underline transition-all hover:no-underline focus:static"
1414
>
1515
{t("skip-to-main-content")}
1616
</BaseLink>

0 commit comments

Comments
 (0)