fix: Badge-Container nowrap verhindert Zeilenumbruch

This commit is contained in:
2026-06-16 16:30:50 +02:00
parent f35629cc96
commit fe6fc33165

View File

@@ -757,7 +757,7 @@ function BestellStats() {
<div style={{...S.head,marginBottom:0,flexShrink:0}}>3D-DRUCK STATISTIK</div> <div style={{...S.head,marginBottom:0,flexShrink:0}}>3D-DRUCK STATISTIK</div>
{/* Status-Badges im zugeklappten Zustand */} {/* Status-Badges im zugeklappten Zustand */}
{!open && stats && ( {!open && stats && (
<div style={{display:'flex',gap:4,flexWrap:'wrap',flex:1}}> <div style={{display:'flex',gap:3,flexWrap:'nowrap',flex:1,overflow:'hidden'}}>
<Badge val={stats.byStatus.warteliste||0} color="#ffe66d" label="W"/> <Badge val={stats.byStatus.warteliste||0} color="#ffe66d" label="W"/>
<Badge val={stats.byStatus.in_arbeit||0} color="#4ecdc4" label="A"/> <Badge val={stats.byStatus.in_arbeit||0} color="#4ecdc4" label="A"/>
<Badge val={stats.byStatus.fertig||0} color="#6bcb77" label="F"/> <Badge val={stats.byStatus.fertig||0} color="#6bcb77" label="F"/>