fix nav bar width

Signed-off-by: Tobias Erbshäußer <tobias@tesoft.dev>
This commit is contained in:
2026-05-24 09:22:34 +02:00
parent 6b237a1417
commit c5bff54dc1
+8 -2
View File
@@ -14,13 +14,13 @@ body {
background-color: var(--dark-gray); background-color: var(--dark-gray);
color: var(--light-gray); color: var(--light-gray);
display: grid; display: grid;
grid-template-columns: 1fr auto 1fr; grid-template-columns: 1fr 1440px 1fr;
grid-template-rows: auto; grid-template-rows: auto;
} }
body > div { body > div {
grid-column: 2; grid-column: 2;
max-width: 144rem; max-width: 1440px;
} }
tesoft-nav { tesoft-nav {
@@ -31,3 +31,9 @@ tesoft-nav {
main { main {
padding: 0 0.5rem 0 0.5rem; padding: 0 0.5rem 0 0.5rem;
} }
@media (max-width: 1440px) {
body {
grid-template-columns: 0 1fr 0;
}
}