Nightly: Sound-Buttons passen Breite dynamisch an Textlänge an (inline-flex, auto width)

This commit is contained in:
vibe-bot 2025-08-09 02:42:02 +02:00
parent 8c7b1fbc31
commit 83fb33c617

View file

@ -548,7 +548,12 @@ header p {
flex: 0 0 auto; flex: 0 0 auto;
} }
/* Kartenbreite an Tabs angelehnt */ /* Kartenbreite an Tabs angelehnt */
.sounds-flow .sound-btn { min-width: 180px; } .sounds-flow .sound-btn {
display: inline-flex;
width: auto;
max-width: 260px; /* verhindert überlange Buttons, mehr Cards pro Zeile */
white-space: nowrap; /* einzeilig */
}
.sound-wrap { position: relative; display: block; } .sound-wrap { position: relative; display: block; }
.sound-wrap.row .sound { width: 100%; } .sound-wrap.row .sound { width: 100%; }
.row-check { width: 18px; height: 18px; accent-color: #60a5fa; } .row-check { width: 18px; height: 18px; accent-color: #60a5fa; }