Skip to content

Commit 9b095c0

Browse files
committed
nav menu arrow padding
1 parent 134abcf commit 9b095c0

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

src/components/Nav/MainNavLinks.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ export const MainNavLinks = ({
4242
<Logo />
4343
</a>
4444

45-
<button onClick={handleToggle} aria-hidden="true" tabIndex={-1}>
45+
<button
46+
class={styles.toggle}
47+
onClick={handleToggle}
48+
aria-hidden="true"
49+
tabIndex={-1}
50+
>
4651
<div class={styles.mobileMenuLabel}>
4752
{isOpen ? (
4853
<Icon kind="close" />

src/components/Nav/styles.module.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@
6969
margin-bottom: 10px;
7070
}
7171

72+
.toggle {
73+
display: grid;
74+
}
75+
7276
ul {
7377
grid-column: 1 / 2;
7478
font-size: 1.25rem;
@@ -104,6 +108,7 @@
104108
display: none;
105109
@media (min-width: $breakpoint-tablet) {
106110
display: block;
111+
margin-top: 5px;
107112
}
108113
}
109114

0 commit comments

Comments
 (0)