diff --git a/static/changelog.json b/static/changelog.json index eee112a..b2de63f 100644 --- a/static/changelog.json +++ b/static/changelog.json @@ -52,13 +52,5 @@ "Фраза «ТЕР не требуется, нужна ТЕРм» больше не подставляет цену отвергнутого ТЕР", "Нумерованная строка «1.ТЕР-01-01-001-01» сохраняет код расценки; фрагмент чужого числа «2.01-01-001-01» по-прежнему не принимается за код" ] - }, - { - "version": "2026-11-25a", - "date": "2026-11-25", - "changes": [ - "Вопрос с кодом расценки региона (например, 31-01-014-02): помощник подкладывает себе факт из региональной базы с пометкой о провенансе — федеральную расценку вместо региональной не подставляет", - "У помощника новый инструмент «regional_rate»: расценка или цена из региональной базы (ТЕР/ТССЦ) с указанием региона, редакции и акта" - ] } ] diff --git a/static/chat.html b/static/chat.html index 3fda0f5..9473e1e 100644 --- a/static/chat.html +++ b/static/chat.html @@ -423,28 +423,6 @@ button { font-family: inherit; } .msg-ai .table-wrap .num, .msg-ai .table-wrap th.num { white-space: normal; overflow-wrap: anywhere; } .msg-ai .table-wrap th, .msg-ai .table-wrap td { min-width: 0; } .msg-ai .table-wrap thead th { position: sticky; top: 0; background: var(--ai-bg); z-index: 1; } -@media (max-width: 600px) { - .msg-ai.has-estimate .est-table, .msg-ai.has-estimate .est-table tbody, - .msg-ai.has-estimate .est-table tr { display: block; width: 100%; } - .msg-ai.has-estimate .est-table .est-header-row { display: none; } - .msg-ai.has-estimate .est-table tr { padding: .45rem; border-bottom: 1px solid var(--border); } - .msg-ai.has-estimate .est-table td { - display: grid; grid-template-columns: minmax(7.3rem, 42%) minmax(0, 1fr); - gap: .35rem; width: 100%; max-width: none; box-sizing: border-box; - border: 0; padding: .2rem .35rem; white-space: normal; overflow-wrap: anywhere; - } - .msg-ai.has-estimate .est-table td::before { - content: attr(data-label); color: var(--text-muted); font-weight: 600; - } - .msg-ai.has-estimate .est-table td.num { text-align: left; white-space: normal; } - .msg-ai.has-estimate .est-table td input { min-width: 0; max-width: 100%; box-sizing: border-box; } - .msg-ai.has-estimate .est-actions { - display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; - } - .msg-ai.has-estimate .est-actions .est-dl { - width: 100%; min-height: 2.5rem; word-break: normal; overflow-wrap: normal; - } -} .msg-ai th, .msg-ai td { border: 1px solid var(--border-light); padding: .35rem .6rem; text-align: left; vertical-align: top; white-space: normal; max-width: 360px; } .msg-ai th { background: var(--bg); font-weight: 600; position: sticky; top: 0; } .msg-ai td.num, .msg-ai th.num { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; } @@ -527,6 +505,28 @@ button { font-family: inherit; } .msg { max-width: 92%; } .onboarding { margin: 1.2rem auto; padding: 1rem; } } +@media (max-width: 600px) { + .msg-ai.has-estimate .est-table, .msg-ai.has-estimate .est-table tbody, + .msg-ai.has-estimate .est-table tr { display: block; width: 100%; } + .msg-ai.has-estimate .est-table .est-header-row { display: none; } + .msg-ai.has-estimate .est-table tr { padding: .45rem; border-bottom: 1px solid var(--border); } + .msg-ai.has-estimate .est-table td { + display: grid; grid-template-columns: minmax(7.3rem, 42%) minmax(0, 1fr); + gap: .35rem; width: 100%; max-width: none; box-sizing: border-box; + border: 0; padding: .2rem .35rem; white-space: normal; overflow-wrap: anywhere; + } + .msg-ai.has-estimate .est-table td::before { + content: attr(data-label); color: var(--text-muted); font-weight: 600; + } + .msg-ai.has-estimate .est-table td.num { text-align: left; white-space: normal; } + .msg-ai.has-estimate .est-table td input { min-width: 0; max-width: 100%; box-sizing: border-box; } + .msg-ai.has-estimate .est-actions { + display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; + } + .msg-ai.has-estimate .est-actions .est-dl { + width: 100%; min-height: 2.5rem; word-break: normal; overflow-wrap: normal; + } +} /* Меряем колонку переписки, а не окно: при открытой панели диалогов колонка узкая и на широком экране. От названия в узкой колонке остаётся «Сметн…» — место нужнее дате сметы и остатку. Подписи значков прячем, сами дата и сумма остаются: иначе многоточие съедало