From 297281e20132051d6233eb9599dedba28f45f68a Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sat, 18 Apr 2026 15:10:52 +0200 Subject: [PATCH] style(wishlist): Sortierung als Pill-Chips wie auf der Startseite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Das native - - - - - +
+ {#each SORT_OPTIONS as s (s.value)} + + {/each}
{#if loading} @@ -162,24 +172,32 @@ margin: 0.2rem 0 0; color: #666; } - .controls { + .sort-chips { display: flex; - justify-content: flex-end; - padding: 0.5rem 0 1rem; + flex-wrap: wrap; + gap: 0.35rem; + margin: 0.5rem 0 1rem; } - .controls label { - display: inline-flex; - gap: 0.5rem; - align-items: center; - font-size: 0.9rem; - color: #555; - } - .controls select { - padding: 0.5rem 0.75rem; - border: 1px solid #cfd9d1; - border-radius: 10px; - min-height: 40px; + .chip { + padding: 0.4rem 0.85rem; background: white; + border: 1px solid #cfd9d1; + border-radius: 999px; + color: #2b6a3d; + font-size: 0.88rem; + cursor: pointer; + min-height: 36px; + font-family: inherit; + white-space: nowrap; + } + .chip:hover { + background: #f4f8f5; + } + .chip.active { + background: #2b6a3d; + color: white; + border-color: #2b6a3d; + font-weight: 600; } .muted { color: #888;