This commit is contained in:
Andras Schmelczer 2026-05-09 10:25:27 +01:00
parent dd9f00b105
commit 584b053a23
7 changed files with 36 additions and 43 deletions

View file

@ -119,10 +119,7 @@ export function DualHistogram({
})}
</div>
{showMeanMarker && (
<div
className="pointer-events-none absolute inset-y-0"
style={{ left: `${meanPct}%` }}
>
<div className="pointer-events-none absolute inset-y-0" style={{ left: `${meanPct}%` }}>
<div
className="absolute top-0 max-w-[7rem] truncate rounded-sm border border-warm-300 bg-white px-1 py-0.5 text-[9px] font-medium leading-none text-warm-600 shadow-sm dark:border-warm-600 dark:bg-navy-900 dark:text-warm-300"
style={meanLabelStyle}