diff --git a/components/Header.module.css b/components/Header.module.css index 5cefd74..6df496a 100644 --- a/components/Header.module.css +++ b/components/Header.module.css @@ -84,6 +84,10 @@ cursor: pointer; } +.mobileSpacer { + display: none; +} + @media screen and (max-width: 768px) { .sideBarCommon { width: 90vw; @@ -96,6 +100,11 @@ .headerWrapper { padding: calc(10rem / 16) calc(20rem / 16) 0 calc(20rem / 16); } + + .mobileSpacer { + display: block; + padding: calc(50rem / 16); + } } .closeMenuButton { diff --git a/components/Header.tsx b/components/Header.tsx index 5d44d6a..4d4b4e8 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -26,41 +26,41 @@ export function Header() { - <> -
-

Sections

-
- -
- -
+
-
{ - setIsShowingMenu(false); - }} - /> - +
+

Sections

+
+ +
+ +
+ +
{ + setIsShowingMenu(false); + }} + /> ); }