Polish admin table labels and button layout
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-05-09 12:47:27 +08:00
parent e390b72a0c
commit 8669a996ca
5 changed files with 1194 additions and 27 deletions

View File

@@ -350,11 +350,6 @@ button:disabled {
font-weight: 650;
}
.admin-query-reset-button {
width: auto;
padding: 0 12px;
}
.admin-field {
display: grid;
min-width: 0;
@@ -603,6 +598,13 @@ button:disabled {
background: #eef3f6;
}
.admin-ghost-button.admin-query-reset-button {
width: auto;
min-width: 76px;
height: 40px;
padding: 0 12px;
}
.admin-text-button {
display: inline;
border: 0;
@@ -650,7 +652,10 @@ button:disabled {
}
.admin-table-wrap {
max-width: 100%;
overflow: auto;
scrollbar-gutter: stable;
-webkit-overflow-scrolling: touch;
}
.admin-table {
@@ -687,6 +692,65 @@ button:disabled {
min-width: 1180px;
}
.admin-database-table {
width: max-content;
min-width: 100%;
table-layout: fixed;
}
.admin-database-table th,
.admin-database-table td {
width: 220px;
min-width: 220px;
max-width: 220px;
}
.admin-database-table th:last-child,
.admin-database-table td:last-child {
width: 112px;
min-width: 112px;
max-width: 112px;
}
.admin-table-sort-button {
display: inline-flex;
align-items: center;
gap: 6px;
max-width: 100%;
border: 0;
color: #667682;
background: transparent;
padding: 0;
text-align: left;
font-size: 12px;
font-weight: 800;
}
.admin-table-sort-button span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
.admin-table-sort-button svg {
flex: 0 0 auto;
}
.admin-table-cell-ellipsis {
display: block;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.admin-table-sort-button:hover,
.admin-table-sort-button:focus-visible,
.admin-table-sort-button[data-active="true"] {
color: #0f5666;
outline: none;
}
.admin-json-preview {
max-width: 360px;
max-height: 160px;