From f85993c7ba7710dad49f27b6e2f6653ae3f3a231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Boduro=C4=9Flu?= <80620802+burakboduroglu@users.noreply.github.com> Date: Sat, 12 Sep 2026 02:12:18 +0300 Subject: [PATCH] fix(contact): align the form and its aside to one height MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit İki kolon artık ikisinin uzunu kadar uzuyor: yan panelin adımları boşluğu alıyor, adres bloğu ve şema bağlantısı alt kenarı tutuyor. Önceden kısa olan kolon beyaz bir sütunun içinde asılı kalıyordu. Şehir bilgisi metinlerden, footer'dan, iletişim panelinden ve yapısal veriden kaldırıldı. --- src/app.css | 16 ++++++++++++++-- src/components/Footer.tsx | 1 - src/config.ts | 2 -- src/i18n/tr-pages.ts | 1 - src/i18n/tr.ts | 2 +- src/lib/schema.ts | 1 - src/routes/iletisim.tsx | 3 --- 7 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/app.css b/src/app.css index 64c8923..0469cd8 100644 --- a/src/app.css +++ b/src/app.css @@ -1136,13 +1136,17 @@ } /* ---- Contact page ---------------------------------------------------------- */ +/* The form and the panel beside it are one block: both columns stretch to + the taller of the two, so their tops and bottoms line up instead of the + short one floating in a column of white. */ .hz-contact-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); - align-items: start; + align-items: stretch; } .hz-form-card { + height: 100%; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-xl); @@ -1267,12 +1271,20 @@ } .hz-contact-aside { display: grid; - gap: 32px; + /* The steps take the space, the address block sits under them and the + diagram link holds the bottom edge — which is what makes the column end + level with the form's last field rather than short of it. */ + grid-template-rows: 1fr auto auto; + gap: 28px; + height: 100%; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--paper); } +.hz-contact-aside > *:first-child { + align-self: start; +} .hz-ministeps { display: grid; gap: 18px; diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 20b2b94..c691233 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -50,7 +50,6 @@ export default function Footer() {

{t.footer.tagline}

- {site.city} ·{" "} {site.email} -

- {t.contact.direct.cityLabel}: {site.city} -