From 91a11e4611961276c1cf209ecf9162709a1e8b21 Mon Sep 17 00:00:00 2001 From: ngn Date: Thu, 24 Jul 2025 18:45:09 +0300 Subject: [PATCH] give a static height to the page header Signed-off-by: ngn --- app/src/components/header.svelte | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/app/src/components/header.svelte b/app/src/components/header.svelte index fd28348..7dfcf24 100644 --- a/app/src/components/header.svelte +++ b/app/src/components/header.svelte @@ -17,10 +17,11 @@ justify-content: space-between; align-items: end; background: var(--transparent); + height: 250px; } header div { - padding: 100px 40px 10px 40px; + padding: 0 40px 10px 40px; color: var(--color); font-size: var(--size-6); font-family: @@ -50,10 +51,20 @@ header img { width: 220px; - padding: 50px 50px 0 50px; + padding: 0 50px; } @media only screen and (max-width: 900px) { + header { + height: 180px; + justify-content: center; + align-items: center; + } + + header div { + padding: 30px 20px 20px 20px; + } + header img { display: none; }