From 03b8a9ee9af6d05011df27249517d3edf805e667 Mon Sep 17 00:00:00 2001 From: anor Date: Wed, 18 Nov 2026 03:13:21 +1000 Subject: [PATCH] =?UTF-8?q?fix(=D0=B0=D0=B4=D0=BC=D0=B8=D0=BD=D0=BA=D0=B0)?= =?UTF-8?q?:=20=D0=BF=D0=BE=D1=87=D1=82=D0=B0=20=D0=B2=20=D1=81=D1=82?= =?UTF-8?q?=D0=BE=D0=BB=D0=B1=D1=86=D0=B5=20=C2=AB=D0=9A=D1=82=D0=BE=C2=BB?= =?UTF-8?q?=20=D0=BD=D0=B5=20=D1=80=D0=B2=D1=91=D1=82=D1=81=D1=8F=20=D0=BE?= =?UTF-8?q?=D0=B4=D0=BD=D0=BE=D0=B9=20=D0=B1=D1=83=D0=BA=D0=B2=D0=BE=D0=B9?= =?UTF-8?q?=20=D0=BD=D0=B0=20=D0=B2=D1=82=D0=BE=D1=80=D1=83=D1=8E=20=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=BE=D0=BA=D1=83;=20=D0=B2=D0=B5=D1=80=D1=81?= =?UTF-8?q?=D0=B8=D1=8F=202026-11-18g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Замер на боевых данных: zakaz@smetashop.pro в колонке 160 px переносился так, что на второй строке оставалась одна буква. Колонка «Кто» в «Счёте» и «Истории» — 176 px. Co-Authored-By: Claude Code --- main.py | 2 +- static/admin2/styles.css | 6 ++++-- static/changelog.json | 7 +++++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index cf5b4c2..f328a05 100644 --- a/main.py +++ b/main.py @@ -477,7 +477,7 @@ MAX_MESSAGE_LEN = 10_000 # ⚠️ Версия UI — единый источник. БАМПАТЬ ПРИ КАЖДОМ ДЕПЛОЕ (формат: YYYY-MM-DD + буква). # Фронт берёт её через GET /api/version (chat.html + admin.html, элемент .app-version). -APP_VERSION = "2026-11-18f" +APP_VERSION = "2026-11-18g" # Audit: path → action name mapping _AUDIT_MAP = [ diff --git a/static/admin2/styles.css b/static/admin2/styles.css index c7fa32e..a6d3f5d 100644 --- a/static/admin2/styles.css +++ b/static/admin2/styles.css @@ -75,11 +75,13 @@ tr.clickable{cursor:pointer} tr.clickable:hover td{background:#f3f6ff} /* Счёт: примечание — самое важное, поэтому широкое; сумма держит знак и разряды. */ .drawer table.ledger th:nth-child(1),.drawer table.ledger td:nth-child(1){width:156px} .drawer table.ledger th:nth-child(2),.drawer table.ledger td:nth-child(2){width:120px} -.drawer table.ledger th:nth-child(4),.drawer table.ledger td:nth-child(4){width:160px} +/* «Кто» — 176 px: почта вида zakaz@smetashop.pro (19 знаков) не должна рваться + одной буквой на вторую строку — проверено на боевых данных. */ +.drawer table.ledger th:nth-child(4),.drawer table.ledger td:nth-child(4){width:176px} .drawer table.files th:nth-child(2),.drawer table.files td:nth-child(2){width:90px} .drawer table.files th:nth-child(3),.drawer table.files td:nth-child(3){width:156px} .drawer table.history th:nth-child(1),.drawer table.history td:nth-child(1){width:156px} -.drawer table.history th:nth-child(2),.drawer table.history td:nth-child(2){width:160px} +.drawer table.history th:nth-child(2),.drawer table.history td:nth-child(2){width:176px} .drawer table.history th:nth-child(4),.drawer table.history td:nth-child(4){width:70px} .sub{color:var(--muted);font-size:11px} .table-wrap > .note{padding:10px} diff --git a/static/changelog.json b/static/changelog.json index c6e5bf9..dddb972 100644 --- a/static/changelog.json +++ b/static/changelog.json @@ -1,4 +1,11 @@ [ + { + "version": "2026-11-18g", + "date": "2026-11-18", + "changes": [ + "Карточка клиента: адрес почты в столбце «Кто» больше не рвётся одной буквой на вторую строку" + ] + }, { "version": "2026-11-18f", "date": "2026-11-18",