Padding for nav on mobile

This commit is contained in:
Notoric 2024-05-23 04:10:18 +01:00
parent c2c89e10f4
commit b5760c28da
1 changed files with 5 additions and 3 deletions

View File

@ -244,7 +244,7 @@ em {
#navbar {
flex-direction: column;
height: calc(100vh - 120px);
height: 100vh;
width: 100vw;
justify-content: space-between;
position: absolute;
@ -252,7 +252,6 @@ em {
font-size: 3em;
margin: 0;
border: 0;
padding-block: 60px;
padding-inline: 0;
transform: translateX(-100vw);
transition: transform 0.5s ease;
@ -268,7 +267,6 @@ em {
position: static;
display: flex;
flex-direction: column;
gap: 20px;
transform: none;
}
@ -334,4 +332,8 @@ em {
body {
font-size: 30px;
}
#navbar #links {
padding-bottom: 1em;
}
}