From c5915c92b137cd28d95fc3751fd55011b6946ee2 Mon Sep 17 00:00:00 2001 From: anor Date: Tue, 1 Dec 2026 18:10:28 +1000 Subject: [PATCH] Keep normative statistics compact on phones --- public_documents.py | 2 +- static/chat.html | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/public_documents.py b/public_documents.py index 0f21c7b..61d12e5 100644 --- a/public_documents.py +++ b/public_documents.py @@ -237,7 +237,7 @@ def render() -> str: ("ФГИС ЦС", "fgis_items", "ресурсов", "fgis_price_rows", "ценовых записей по зонам и периодам"), ("КСР", "ksr", "позиций классификатора", None, None), ("ТСН Москвы", "tsn_works", "расценок", "tsn_prices", "ценовых позиций"), - ("Региональные базы", "regional_works", "расценка", "regional_prices", "цен"), + ("Региональные базы", "regional_works", "расценок", "regional_prices", "цен"), ("ФССЦ", "fssc_regions", "региональных сборников", None, None), ("БИМ", "bim_letters", "писем с индексами", None, None), ("Методические документы", "literature_files", "файлов в библиотеке", None, None), diff --git a/static/chat.html b/static/chat.html index a219f9f..545a575 100644 --- a/static/chat.html +++ b/static/chat.html @@ -184,6 +184,12 @@ button { font-family: inherit; } @media (max-width: 640px) { .msg-ai .table-wrap { font-size: .74rem; } .msg-ai .table-wrap th, .msg-ai .table-wrap td { padding: .3rem .25rem; } + .public-doc-stat { grid-template-columns: repeat(2, minmax(0, 1fr)); } + .public-doc-stat-item { padding: .65rem; } + .public-doc-stat-item:last-child { grid-column: 1 / -1; } + .public-doc-stat strong { font-size: clamp(1.05rem, 5vw, 1.3rem); } + .public-doc-stat-name { font-size: .74rem; } + .public-doc-stat-item > span:not(.public-doc-stat-name), .public-doc-stat-item small { font-size: .69rem; } } @media (max-width: 900px) { .public-documents { grid-template-columns: 1fr; gap: .8rem; }