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",