Reposition DAC/EXC badges below QualityBadge in vertical layout

Changed quality-indicator to column flex layout with badges row below
the QualityBadge. Both badges now expand to fill the width equally,
matching the QualityBadge width.
This commit is contained in:
vicrodh committed 2026-01-11 11:30:05 -06:00
1 parent 23ac19a68f
commit 78e3af691f
2 files changed
+16 -7

No files matched your search

+4 -3
View File
@@ -105,17 +105,18 @@
<style>
.audio-badges {
display: flex;
align-items: center;
align-items: stretch;
gap: 3px;
position: relative;
margin-left: 4px;
width: 100%;
height: 100%;
}
.badge {
display: flex;
align-items: center;
justify-content: center;
padding: 2px 5px;
flex: 1;
border-radius: 3px;
font-size: 7px;
font-weight: 600;
+12 -4
View File
@@ -278,7 +278,9 @@
<div class="quality-indicator">
<QualityBadge {quality} {bitDepth} {samplingRate} />
<AudioOutputBadges />
<div class="audio-badges-row">
<AudioOutputBadges />
</div>
</div>
</div>
{:else}
@@ -639,10 +641,16 @@
.quality-indicator {
flex-shrink: 0;
display: flex;
align-items: flex-start;
flex-direction: column;
gap: 2px;
align-self: flex-start;
margin: 2px 2px 0 0;
align-self: stretch;
margin: 2px 2px 2px 0;
}
.audio-badges-row {
display: flex;
flex: 1;
min-height: 0;
}
.empty-state {