Skip to content

Commit fa1a248

Browse files
Update to work with dynamic types on iOS (#406)
1 parent 16424d9 commit fa1a248

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

components/Header/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const Header = ({ handleNavClick, showNavMobile }: IHeaderProps) => {
1414
<>
1515
<header>
1616
<div className={styles.topBanner}>
17-
<Link href="/">Accessible Web Dev</Link>
17+
<Link href="/">AWD</Link>
1818
<div className={styles.buttonsContainer}>
1919
<ThemeSwitcher />
2020
<button

components/SkipLink/SkipLink.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
padding: 0.3rem;
1212
border: 1px solid var(--primary);
1313
z-index: 100;
14-
transform: translateY(-100px);
14+
transform: translateY(-500px);
1515
transition: all .4s ease-in-out;
1616
}
1717

styles/globals.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
--headerHeight: 3rem;
3030
}
3131

32+
@supports (font: -apple-system-body) {
33+
html {
34+
font: -apple-system-body;
35+
}
36+
}
37+
3238
html,
3339
body {
3440
padding: 0;

0 commit comments

Comments
 (0)