From a8006e2d506a8ee95e5478a2192341074c1e2cfe Mon Sep 17 00:00:00 2001 From: tore Date: Fri, 4 Sep 2026 09:43:14 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=BF=D0=BE=D0=B4=D0=BF=D0=B8=D1=81?= =?UTF-8?q?=D0=B8=20=D0=B7=D0=BD=D0=B0=D1=87=D0=B5=D0=BD=D0=B8=D0=B9=20?= =?UTF-8?q?=D1=82=D0=BE=D0=BB=D1=8C=D0=BA=D0=BE=20=D1=83=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B2=D1=8B=D1=85=203=20=D1=81=D1=82=D0=BE=D0=BB=D0=B1?= =?UTF-8?q?=D1=86=D0=BE=D0=B2,=20=D0=BE=D1=82=D1=81=D1=82=D1=83=D0=BF=20?= =?UTF-8?q?=D1=81=D0=BB=D0=B5=D0=B2=D0=B0=2024px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 201be04..c606b29 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,7 @@ @media (max-width: 900px) { .kpi-strip { grid-template-columns: repeat(2, 1fr); } } .charts-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 0 32px 24px; } @media (max-width: 900px) { .charts-row { grid-template-columns: 1fr; } } - .chart-wrap { height: 280px; position: relative; display: flex; align-items: flex-end; gap: 4px; padding-top: 28px; padding-bottom: 60px; overflow-x: auto; } + .chart-wrap { height: 280px; position: relative; display: flex; align-items: flex-end; gap: 4px; padding-top: 28px; padding-bottom: 60px; padding-left: 24px; overflow-x: auto; } .bar { flex: 1; min-width: 20px; max-width: 28px; border-radius: 2px 2px 0 0; position: relative; cursor: pointer; } .bar[data-kt-tip]::after { content: attr(data-kt-tip); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); background: var(--kt-ai-overlay); color: var(--kt-ai-fg-on-fill); padding: 4px 8px; border-radius: 4px; font-size: 11px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s; } .bar:hover::after { opacity: 1; } @@ -165,8 +165,9 @@ const h = (d.value / maxVal) * 170; const shortLabel = isService ? (d.label.length > 14 ? d.label.slice(0, 14) + '…' : d.label) : d.label; const tipLabel = isService ? d.label : shortLabel; + const showValue = i < 3 ? `${fmtNum(d.value)}` : ''; return `
- ${fmtNum(d.value)} + ${showValue} ${shortLabel}
`; }).join('');