Skip to content

Commit

Permalink
CR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
laurakwhit committed Aug 31, 2023
1 parent 741522d commit 7a13f12
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/skip-nav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Link
id="skip-nav"
href="#content"
class="absolute left-1/2 translate-y-[-100%] focus:translate-y-0 z-[100] p-1"
class="absolute left-1/2 -translate-y-full focus:translate-y-0 z-100 p-1"
>
{translate('skip-nav')}
</Link>
2 changes: 1 addition & 1 deletion src/lib/i18n/locales/en/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,5 @@ export const Strings = {
'time-unit': 'Time Unit',
'based-on-time-preface': 'Based on',
'download-json': 'Download JSON',
'skip-nav': 'Skip to main content',
'skip-nav': 'Skip to Main Content',
} as const;
3 changes: 3 additions & 0 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ const config = {
boxShadow: {
focus: '0 0 0 4px',
},
zIndex: {
100: '100',
},
},
},
plugins: [],
Expand Down

0 comments on commit 7a13f12

Please sign in to comment.