From f476d6cd147020a582c22bb5a6b46a3ac1a80c60 Mon Sep 17 00:00:00 2001 From: Repinoid Date: Sat, 24 Oct 2026 11:06:25 +0300 Subject: [PATCH] ui: stabilize file table status column Fix table layout and reserve a single-line status column wide enough for upload progress and processing statuses. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- site/app.py | 2 +- site/templates/index.html | 26 +++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/site/app.py b/site/app.py index bf1d0ca..c931018 100644 --- a/site/app.py +++ b/site/app.py @@ -22,7 +22,7 @@ if _sys_path_root not in sys.path: sys.path.insert(0, _sys_path_root) # Версия приложения (меняется при изменениях) -VERSION = "1.1.3" +VERSION = "1.1.4" def setup_logging(): diff --git a/site/templates/index.html b/site/templates/index.html index 7c9c6ad..17de0f3 100644 --- a/site/templates/index.html +++ b/site/templates/index.html @@ -181,16 +181,34 @@ #filePicker .fp-table-wrap { border: 1px solid var(--brand-gray); border-radius: 12px; - overflow: hidden; + overflow-x: auto; margin-bottom: 6px; } #filePicker .fp-table { width: 100%; + min-width: 740px; border-collapse: collapse; + table-layout: fixed; font-size: 14px; } + #filePicker .fp-table th:nth-child(1) { + width: 47%; + } + + #filePicker .fp-table th:nth-child(2) { + width: 15%; + } + + #filePicker .fp-table th:nth-child(3) { + width: 220px; + } + + #filePicker .fp-table th:nth-child(4) { + width: 8%; + } + #filePicker .fp-table th { background: var(--brand-grey-light); padding: 10px 16px; @@ -209,6 +227,12 @@ color: var(--text); } + #filePicker .fp-table td:nth-child(3) { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + #filePicker .fp-table tr:last-child td { border-bottom: 0; }