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