Skip to content

Commit 19e0851

Browse files
authored
Merge pull request #13797 from Baystef/feat/skipnav
Implements skipnav link to match new design [#12929]
2 parents 5f6731e + 9a76fe0 commit 19e0851

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-14 rounded border bg-primary px-4 py-2 leading-8 text-background no-underline hover:no-underline focus:static"
1414
>
1515
{t("skip-to-main-content")}
1616
</BaseLink>

0 commit comments

Comments
 (0)