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>
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ if _sys_path_root not in sys.path:
|
|||||||
sys.path.insert(0, _sys_path_root)
|
sys.path.insert(0, _sys_path_root)
|
||||||
|
|
||||||
# Версия приложения (меняется при изменениях)
|
# Версия приложения (меняется при изменениях)
|
||||||
VERSION = "1.1.3"
|
VERSION = "1.1.4"
|
||||||
|
|
||||||
|
|
||||||
def setup_logging():
|
def setup_logging():
|
||||||
|
|||||||
@@ -181,16 +181,34 @@
|
|||||||
#filePicker .fp-table-wrap {
|
#filePicker .fp-table-wrap {
|
||||||
border: 1px solid var(--brand-gray);
|
border: 1px solid var(--brand-gray);
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
overflow: hidden;
|
overflow-x: auto;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#filePicker .fp-table {
|
#filePicker .fp-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
min-width: 740px;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
|
table-layout: fixed;
|
||||||
font-size: 14px;
|
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 {
|
#filePicker .fp-table th {
|
||||||
background: var(--brand-grey-light);
|
background: var(--brand-grey-light);
|
||||||
padding: 10px 16px;
|
padding: 10px 16px;
|
||||||
@@ -209,6 +227,12 @@
|
|||||||
color: var(--text);
|
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 {
|
#filePicker .fp-table tr:last-child td {
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user