feat: add Тип column to allEquipment table; compress Владелец on mobile

- Add Тип (equipment type) column between Кол-во and Владелец
- allequip-table: table-layout fixed with explicit column widths
- Владелец: 60px (compressed), Название gets remaining space

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Your Name
2026-05-19 20:09:02 +03:00
parent a315b9033a
commit fc82b38c1f
2 changed files with 32 additions and 2 deletions

View File

@@ -217,6 +217,34 @@ td.inv-col, th.inv-col {
.byaud-table th:nth-child(7),
.byaud-table td:nth-child(7) { width: 88px; }
/* allEquipment table: fixed layout */
.allequip-table {
table-layout: fixed;
width: 100%;
}
/* № */
.allequip-table th:nth-child(1),
.allequip-table td:nth-child(1) { width: 24px; }
/* Инв. номер */
.allequip-table th:nth-child(2),
.allequip-table td:nth-child(2) { width: 58px; }
/* Название — remaining space */
/* Аудитория */
.allequip-table th:nth-child(4),
.allequip-table td:nth-child(4) { width: 52px; }
/* Расположение */
.allequip-table th:nth-child(5),
.allequip-table td:nth-child(5) { width: 72px; }
/* Кол-во */
.allequip-table th:nth-child(6),
.allequip-table td:nth-child(6) { width: 28px; }
/* Тип */
.allequip-table th:nth-child(7),
.allequip-table td:nth-child(7) { width: 52px; }
/* Владелец — compressed */
.allequip-table th:nth-child(8),
.allequip-table td:nth-child(8) { width: 60px; }
.owner-td select {
width: 100% !important;
max-width: 100%;