feat: KVZ Button für User sichtbar wenn aktiviert ist

This commit is contained in:
ISA
2025-09-10 08:42:28 +02:00
parent f43ddccc46
commit 77f14313ae
10 changed files with 219 additions and 27 deletions

View File

@@ -262,7 +262,8 @@ const TDRChartActionBar: React.FC = () => {
"px-3 h-8 cursor-pointer rounded-sm m-0.5 flex items-center justify-start transition-colors text-[13px]";
if (selected)
return `${base} dropdown-option-active font-medium`;
if (active) return `${base} dropdown-option-hover`;
if (active)
return `${base} dropdown-option-hover`;
return `${base}`;
}}
>
@@ -296,7 +297,9 @@ const TDRChartActionBar: React.FC = () => {
<div className="w-2/3 max-w-xl h-3 bg-white/20 rounded overflow-hidden shadow-inner">
<div
className="h-full bg-accent transition-all ease-linear"
style={{ width: `${(tdrProgress / TDR_TOTAL_DURATION) * 100}%` }}
style={{
width: `${(tdrProgress / TDR_TOTAL_DURATION) * 100}%`,
}}
/>
</div>
</div>