Skip to content

Commit 7efc541

Browse files
committed
Move hamburger menu icon to right of theme picker icon on mobile view
1 parent 9630482 commit 7efc541

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/components/Header/index.astro‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const { path } = Astro.props
7373
{/* Theme picker toggle button to show modal */}
7474
<span
7575
id="header__theme-icon"
76-
class="ml-2 shrink-0 w-(--header-icon-size) relative z-(--z-content-overlay)"
76+
class="order-3 lg:order-4 ml-2 mr-2 lg:mr-0 shrink-0 w-(--header-icon-size) relative z-(--z-content-overlay)"
7777
>
7878
<ThemeButton />
7979
</span>

‎src/components/Navigation/index.astro‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const { path } = Astro.props
1717
<Menu path={path} />
1818
</span>
1919
{/* Mobile navigation toggle button to show menu on full-page splash screen */}
20-
<span id="header__nav-icon" class="block shrink-0 relative z-(--z-mobile-close-btn) lg:hidden">
20+
<span id="header__nav-icon" class="order-4 block shrink-0 relative z-(--z-mobile-close-btn) lg:hidden">
2121
<NavToggle />
2222
</span>
2323
</div>

0 commit comments

Comments
 (0)