Added mobile spacer
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Shahan Nedadahandeh 2022-09-04 13:45:15 -07:00
parent 0c513d9698
commit 9f77dc653b
Signed by: snedadah
GPG Key ID: 8638C7F917385B01
2 changed files with 43 additions and 34 deletions

View File

@ -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 {

View File

@ -26,7 +26,8 @@ export function Header() {
</button>
</div>
<>
<div className={styles.mobileSpacer} />
<div
className={isShowingMenu ? styles.sideBarShown : styles.sideBarHidden}
>
@ -61,7 +62,6 @@ export function Header() {
}}
/>
</>
</>
);
}