fix(админка): почта в столбце «Кто» не рвётся одной буквой на вторую строку; версия 2026-11-18g
Замер на боевых данных: zakaz@smetashop.pro в колонке 160 px переносился так, что на второй строке оставалась одна буква. Колонка «Кто» в «Счёте» и «Истории» — 176 px. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -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 = [
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
[
|
||||
{
|
||||
"version": "2026-11-18g",
|
||||
"date": "2026-11-18",
|
||||
"changes": [
|
||||
"Карточка клиента: адрес почты в столбце «Кто» больше не рвётся одной буквой на вторую строку"
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "2026-11-18f",
|
||||
"date": "2026-11-18",
|
||||
|
||||
Reference in New Issue
Block a user