From 8c7b1fbc3121947f9dc73002c787993720e4f2d6 Mon Sep 17 00:00:00 2001 From: vibe-bot Date: Sat, 9 Aug 2025 02:35:14 +0200 Subject: [PATCH] Nightly: Sounds wieder organisch wie Tabs nebeneinander (flex-wrap, auto-breite Karten) --- web/src/styles.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/web/src/styles.css b/web/src/styles.css index 05ef182..13d9552 100644 --- a/web/src/styles.css +++ b/web/src/styles.css @@ -539,13 +539,17 @@ header p { /* Lineares, responsives Flow-Layout für Sounds */ .sounds-flow { display: flex; - flex-direction: column; - gap: 8px; + flex-wrap: wrap; + align-items: flex-start; + gap: 12px; } .sounds-flow .sound-wrap { - width: 100%; + position: relative; + flex: 0 0 auto; } -.sound-wrap { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; } +/* Kartenbreite an Tabs angelehnt */ +.sounds-flow .sound-btn { min-width: 180px; } +.sound-wrap { position: relative; display: block; } .sound-wrap.row .sound { width: 100%; } .row-check { width: 18px; height: 18px; accent-color: #60a5fa; } .select-check {