Nightly: Sound-Buttons passen Breite dynamisch an Textlänge an (inline-flex, auto width)
This commit is contained in:
parent
8c7b1fbc31
commit
83fb33c617
1 changed files with 6 additions and 1 deletions
|
|
@ -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; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue