feat(前端界面): 微调WebUI
build.yaml / build (push) Successful in 38s

This commit is contained in:
xiaoqidun committed 2026-09-07 22:42:57 +08:00
1 parent f5787f0467
commit 8d5ef3eee4
1 file changed
+21 -10
+21 -10
View File
@@ -98,6 +98,7 @@ a:focus-visible {
z-index: 12; z-index: 12;
border-bottom: 1px solid var(--line); border-bottom: 1px solid var(--line);
font-size: 14px; font-size: 14px;
line-height: 1;
gap: var(--tool-gap); gap: var(--tool-gap);
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: hidden;
@@ -119,6 +120,9 @@ a:focus-visible {
.button, .button,
.icon-button { .icon-button {
display: inline-flex;
align-items: center;
justify-content: center;
height: var(--control-height); height: var(--control-height);
border-radius: 0; border-radius: 0;
} }
@@ -151,12 +155,9 @@ button:not(:disabled):hover {
} }
.icon-button { .icon-button {
display: inline-grid;
place-items: center;
width: var(--control-height); width: var(--control-height);
padding: 0; padding: 0;
font-size: 14px; font-size: 14px;
line-height: 1;
} }
.toolbar-space { .toolbar-space {
@@ -186,7 +187,8 @@ button:not(:disabled):hover {
} }
.page-control { .page-control {
display: inline-flex; display: inline-grid;
grid-template-columns: 4ch auto 4ch;
align-items: center; align-items: center;
gap: 6px; gap: 6px;
height: var(--control-height); height: var(--control-height);
@@ -195,17 +197,29 @@ button:not(:disabled):hover {
border-radius: 0; border-radius: 0;
background: #ffffff; background: #ffffff;
color: var(--text-muted); color: var(--text-muted);
text-align: center;
font-variant-numeric: tabular-nums;
} }
.page-control input { .page-control input {
width: 48px; width: 100%;
min-width: 0;
height: 100%;
padding: 0;
border: 0; border: 0;
outline: 0; outline: 0;
text-align: right; appearance: textfield;
text-align: center;
color: #1f2428; color: #1f2428;
background: transparent; background: transparent;
} }
.page-control input::-webkit-inner-spin-button,
.page-control input::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.format-select { .format-select {
width: 58px; width: 58px;
height: var(--control-height); height: var(--control-height);
@@ -1076,14 +1090,11 @@ body[data-hide-meta] .meta-panel {
} }
.page-control { .page-control {
grid-template-columns: 3ch auto 3ch;
gap: 4px; gap: 4px;
padding: 0 6px; padding: 0 6px;
} }
.page-control input {
width: 38px;
}
.zoom-label { .zoom-label {
min-width: 34px; min-width: 34px;
} }