fix(app-web): 版本面板「已是最新」不再出更新按钮+行内动作按钮字号钉死 12px

This commit is contained in:
2026-11-15 00:01:33 +08:00
parent 402447af70
commit 85f8ebc3c7
9 changed files with 207 additions and 26 deletions
@@ -756,8 +756,11 @@ onUnmounted(() => {
.channel-title { color: #5e6878; }
.channel-opt { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.channel-opt:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.btn-run, .btn-delete, .btn-retry, .btn-interrupt, .download { border: none; cursor: pointer; border-radius: 7px; }
.btn-run { padding: 10px 18px; color: #f5f8fc; background: #3498db; font-weight: 600; }
.btn-run, .btn-delete, .btn-retry, .btn-interrupt, .download { border: none; cursor: pointer; }
/* 行内动作按钮钉死 12px 字号 + 6px 圆角:reset.css 里 button 是 font: inherit,
不写就继承到 16px,比状态徽章高出一截、字也大一号(2026-11-12 实测徽章 38px / 按钮 54px) */
.btn-delete, .btn-retry, .btn-interrupt, .download { border-radius: 6px; font-size: 12px; }
.btn-run { padding: 10px 18px; border-radius: 7px; color: #f5f8fc; background: #3498db; font-weight: 600; }
.btn-queue { background: #27ae60; }
.btn-run:disabled { opacity: .55; cursor: not-allowed; }
.prompt-card, .secret-card { margin-bottom: 18px; }
@@ -843,8 +843,10 @@ async function batchDeleteHistory(views: TaskItemView[]) {
.queue-debug-line { color: #9ad; font-size: 12px; }
.queue-debug-payload { margin-top: 8px; padding: 8px 10px; background: #151a25; border-radius: 6px; color: #a0acbe; font-size: 11px; overflow: auto; max-height: 200px; }
.download { padding: 6px 10px; color: #c8d2e2; background: rgba(52, 152, 219, .18); }
.btn-delete { padding: 6px 10px; color: #ff8f8f; background: rgba(231, 76, 60, .12); }
/* 行内动作按钮钉死 12px 字号 + 6px 圆角:reset.css 里 button 是 font: inherit,
不写就继承到 16px,比状态徽章高出一截、字也大一号 */
.download { padding: 6px 10px; border-radius: 6px; font-size: 12px; color: #c8d2e2; background: rgba(52, 152, 219, .18); }
.btn-delete { padding: 6px 10px; border-radius: 6px; font-size: 12px; color: #ff8f8f; background: rgba(231, 76, 60, .12); }
@media (max-width: 1100px) {
.main-content { flex-direction: column; height: auto; }
.left-panel { width: 100%; border-right: none; border-bottom: 1px solid #2e3a52; }
@@ -701,7 +701,9 @@ async function batchDeleteHistory(views: TaskItemView[]) {
.ok { color: #67c23a; }
.files { font-size: 12px; color: #5e6878; }
.fail, .error-text { color: #f56c6c; }
.download, .btn-delete { padding: 5px 10px; border: 1px solid #444; border-radius: 4px; background: transparent; color: #c8d2e2; cursor: pointer; }
/* 12px 字号钉死(reset.css 里 button 是 font: inherit,不写会继承到 16px),
保证与同排状态徽章等高 */
.download, .btn-delete { padding: 5px 10px; border: 1px solid #444; border-radius: 4px; background: transparent; color: #c8d2e2; font-size: 12px; cursor: pointer; }
.download { border-color: #409eff; color: #8dc4ff; }
.btn-delete { color: #f56c6c; }
@media (max-width: 900px) { .main-content { height: auto; flex-direction: column; }.left-panel { width: 100%; border-right: 0; } }
@@ -990,11 +990,19 @@ onUnmounted(() => {
.download {
border: none;
cursor: pointer;
border-radius: 7px;
}
/* 行内动作按钮钉死 12px 字号 + 6px 圆角:reset.css 里 button 是 font: inherit,
不写就继承到 16px,比状态徽章高出一截、字也大一号 */
.btn-delete,
.download {
border-radius: 6px;
font-size: 12px;
}
.btn-run {
padding: 10px 18px;
border-radius: 7px;
color: #f5f8fc;
background: #3498db;
font-weight: 600;