mobile fix

This commit is contained in:
Firq 2023-03-16 23:41:21 +01:00
parent 784d66bebc
commit 14c01c46e3
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 22 additions and 4 deletions

View file

@ -48,8 +48,15 @@ const { title } = Astro.props
} }
.base { .base {
margin-left: 3rem; margin-left: 1rem;
margin-right: 3rem; margin-right: 1rem;
}
@media (min-width: 1000px) {
.base {
margin-left: 3rem;
margin-right: 3rem;
}
} }
@media (min-width: 1500px) { @media (min-width: 1500px) {

View file

@ -35,6 +35,10 @@ const { title } = Astro.props
justify-content: left; justify-content: left;
} }
} }
.base {
margin-left: 1rem;
margin-right: 1rem;
}
@media (min-width: 400px) { @media (min-width: 400px) {
.base { .base {

View file

@ -52,8 +52,15 @@ if (abovetext === undefined) {
} }
.base { .base {
margin-left: 3rem; margin-left: 1rem;
margin-right: 3rem; margin-right: 1rem;
}
@media (min-width: 1000px) {
.base {
margin-left: 3rem;
margin-right: 3rem;
}
} }
@media (min-width: 1500px) { @media (min-width: 1500px) {