Keep icon touch targets full-size; shrink logo instead; fluid nav gap

Revert the 40px icon-shrink below 375px (hard to tap accurately) and reclaim that space from the logo instead (76-130px depending on width, vs the always-181px controls). Re-verified overflow-free at 320px via Playwright with all 4 icons at full 44px.

Also: wishlist heart's touch-friendly smaller/subtler size now applies to already-wishlisted (filled) hearts too, not just not-yet-wishlisted ones. The wishlist page's login redirect now returns to the wishlist instead of the generic account/orders overview. Desktop nav-link gap now scales fluidly between 1024-1300px instead of a fixed 48px that felt too wide right where nav labels have the least room.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Marco
2026-07-31 21:20:01 +00:00
parent 1a3a8ba20e
commit 92727ff22a
4 changed files with 51 additions and 27 deletions
+6 -1
View File
@@ -19,7 +19,12 @@ export const metadata: Metadata = {
export default async function KontoMerklistePage() {
const session = await getSessionCustomer();
if (!session) redirect("/konto/login");
// ?redirect= back to this page — landing on the generic account/orders
// overview after logging in from the wishlist icon (the common entry
// point, unlike most other /konto/* pages that are only ever reached
// once already logged in) would silently lose the wishlist context the
// customer actually came here for.
if (!session) redirect("/konto/login?redirect=%2Fkonto%2Fmerkliste");
// The feature can be switched off after a customer already had rows in
// their wishlist — 404 rather than showing a stale page for a feature