fix: theming

This commit is contained in:
Strix 2023-10-16 01:36:03 +02:00
parent 4decadebfa
commit 2d791ec992
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -9,6 +9,7 @@ html {
body { body {
margin: 0; margin: 0;
padding: 0; padding: 0;
min-height: min-content;
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -22,6 +23,18 @@ body > * {
padding: 1rem 2rem; padding: 1rem 2rem;
} }
@media (max-width: 800px) {
body {
padding: 1rem;
height: fit-content;
}
body > * {
margin: 0;
padding: 1rem 2rem;
width: calc(100% - 2rem - 2px);
}
}
main { main {
border: 1px solid #ddd; border: 1px solid #ddd;
background-color: #fff; background-color: #fff;