fix: tighten request table rows

This commit is contained in:
lutc5
2026-04-29 22:02:36 +08:00
parent 5c6754c6ae
commit 70803e5c76
5 changed files with 19 additions and 12 deletions

View File

@@ -834,10 +834,11 @@ button {
.model-meta,
.cell-sub {
margin-top: 3px;
margin-top: 1px;
overflow: hidden;
color: var(--muted);
font-size: 12px;
line-height: 1.15;
text-overflow: ellipsis;
white-space: nowrap;
}
@@ -877,7 +878,7 @@ button {
.requests-panel .table-scroll {
flex: 0 0 auto;
--request-row-height: 72px;
--request-row-height: 42px;
--request-head-height: 43px;
min-height: calc(var(--request-head-height) + var(--request-row-height));
max-height: calc(var(--request-head-height) + var(--request-row-height) * 5);
@@ -914,6 +915,12 @@ button {
vertical-align: middle;
}
.data-table tbody td {
padding-top: 3px;
padding-bottom: 3px;
line-height: 1.12;
}
.data-table th {
position: sticky;
top: 0;
@@ -966,10 +973,10 @@ button {
.method-chip {
display: inline-flex;
align-items: center;
min-height: 24px;
padding: 0 8px;
min-height: 22px;
padding: 0 7px;
border-radius: 7px;
font-size: 12px;
font-size: 11px;
font-weight: 680;
white-space: nowrap;
}