From d53b8b60c96ad2943f7971ab54b68557ac1b99eb Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 19 May 2026 20:12:49 +0300 Subject: [PATCH] =?UTF-8?q?style:=20prioritize=20=D0=9D=D0=B0=D0=B7=D0=B2?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B5=20and=20=D0=A0=D0=B0=D1=81=D0=BF=D0=BE?= =?UTF-8?q?=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=20columns=20on=20mob?= =?UTF-8?q?ile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Инв. номер: 58px -> 44px, Аудитория: 52px -> 34px (both compressed) - Название: auto (byAud) / auto (allEquipment) — gets most space - Расположение: shares auto space in allEquipment, 75px in byAud - Table cell padding: 3px 2px -> 2px 2px Co-Authored-By: Claude Sonnet 4.6 --- frontend/index.html | 2 +- frontend/styles.css | 40 +++++++++++++++++++--------------------- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index bc7ff20..a3bff7b 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -5,7 +5,7 @@ АСУ Инвентаризация - +
diff --git a/frontend/styles.css b/frontend/styles.css index 33263e6..51e6527 100644 --- a/frontend/styles.css +++ b/frontend/styles.css @@ -189,61 +189,59 @@ td.inv-col, th.inv-col { .table td, .table th { font-size: 11px; - padding: 3px 2px; + padding: 2px 2px; } - /* byAud table: fixed layout so Название/Расположение get more space */ + /* byAud table: Название и Расположение — приоритет */ .byaud-table { table-layout: fixed; width: 100%; } /* ID */ .byaud-table th:nth-child(1), - .byaud-table td:nth-child(1) { width: 26px; } + .byaud-table td:nth-child(1) { width: 22px; } /* Инв. номер */ .byaud-table th:nth-child(2), - .byaud-table td:nth-child(2) { width: 58px; } - /* Название — gets remaining space, no explicit width */ + .byaud-table td:nth-child(2) { width: 44px; } + /* Название — auto, gets most remaining space */ /* Расположение */ .byaud-table th:nth-child(4), - .byaud-table td:nth-child(4) { width: 80px; } + .byaud-table td:nth-child(4) { width: 75px; } /* Кол-во */ .byaud-table th:nth-child(5), - .byaud-table td:nth-child(5) { width: 30px; } + .byaud-table td:nth-child(5) { width: 26px; } /* Тип */ .byaud-table th:nth-child(6), - .byaud-table td:nth-child(6) { width: 48px; } - /* Владелец — compressed */ + .byaud-table td:nth-child(6) { width: 44px; } + /* Владелец */ .byaud-table th:nth-child(7), .byaud-table td:nth-child(7) { width: 88px; } - /* allEquipment table: fixed layout */ + /* allEquipment table: Название и Расположение — приоритет */ .allequip-table { table-layout: fixed; width: 100%; } /* № */ .allequip-table th:nth-child(1), - .allequip-table td:nth-child(1) { width: 24px; } + .allequip-table td:nth-child(1) { width: 20px; } /* Инв. номер */ .allequip-table th:nth-child(2), - .allequip-table td:nth-child(2) { width: 58px; } - /* Название — remaining space */ + .allequip-table td:nth-child(2) { width: 44px; } + /* Название — auto, gets most 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 td:nth-child(4) { width: 34px; } + /* Расположение — auto, shares space with Название */ /* Кол-во */ .allequip-table th:nth-child(6), - .allequip-table td:nth-child(6) { width: 28px; } + .allequip-table td:nth-child(6) { width: 24px; } /* Тип */ .allequip-table th:nth-child(7), - .allequip-table td:nth-child(7) { width: 52px; } - /* Владелец — compressed */ + .allequip-table td:nth-child(7) { width: 46px; } + /* Владелец */ .allequip-table th:nth-child(8), - .allequip-table td:nth-child(8) { width: 60px; } + .allequip-table td:nth-child(8) { width: 55px; } .owner-td select { width: 100% !important;