From 4a7ce91db132fde7c829a5ba084d9dd6787e8a01 Mon Sep 17 00:00:00 2001 From: bot-backend Date: Tue, 30 Jun 2026 17:15:56 +0000 Subject: [PATCH] =?UTF-8?q?fix(site-finder):=20=C2=A74.3=20=D0=B3=D1=80?= =?UTF-8?q?=D0=B0=D1=84=D0=B8=D0=BA=20=C2=AB=D0=9F=D0=BE=20=D0=BA=D0=B2?= =?UTF-8?q?=D0=B0=D1=80=D1=82=D0=B0=D0=BB=D0=B0=D0=BC=C2=BB=20=E2=80=94=20?= =?UTF-8?q?=D0=B1=D0=B0=D1=80=D1=8B=20=D0=B2=D1=8B=D0=BB=D0=B5=D0=B7=D0=B0?= =?UTF-8?q?=D0=BB=D0=B8=20=D0=B7=D0=B0=20=D0=BA=D1=80=D0=B0=D0=B9=20=D0=BA?= =?UTF-8?q?=D0=B0=D1=80=D1=82=D0=BE=D1=87=D0=BA=D0=B8=20(#2118)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../site-finder/Pipeline24moBlock.tsx | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/site-finder/Pipeline24moBlock.tsx b/frontend/src/components/site-finder/Pipeline24moBlock.tsx index 4b3d24bd..76a258f6 100644 --- a/frontend/src/components/site-finder/Pipeline24moBlock.tsx +++ b/frontend/src/components/site-finder/Pipeline24moBlock.tsx @@ -242,11 +242,18 @@ export function Pipeline24moBlock({ data }: Props) { (q.flats / maxFlatsPerQuarter) * BAR_AREA_PX, ) : 4; + // Компактная подпись в 2 строки: «Q2» / «'26». Полная «2026-Q2» + // (nowrap) шире ячейки → 9 кварталов выдавливали flex-ряд за + // правый край карточки. minWidth:0 ниже даёт колонкам ужиматься. + const qm = /^(\d{4})-(Q\d)$/.exec(q.quarter); + const qLabel = qm ? qm[2] : q.quarter; + const qYear = qm ? `'${qm[1].slice(2)}` : ""; return (
- {q.quarter} +
{qLabel}
+ {qYear && ( +
+ {qYear} +
+ )}
);