feat: show generation prompts in previews and fix fluid page layout

This commit is contained in:
2026-11-04 01:19:42 +08:00
parent bef8af53ed
commit 5f3cebcb38
8 changed files with 57 additions and 9 deletions
+5 -2
View File
@@ -152,7 +152,7 @@ body[data-page="skills"] .app-nav a[data-nav="skills"] .nav-ico { color: var(--p
.crumb h1 { font-size: 18px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.page-body { padding: 24px; max-width: 1440px; width: 100%; }
.page-body { padding: 24px; width: 100%; }
/* --------------------------------------------------------------- Animations */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@@ -378,7 +378,7 @@ table.tbl tbody tr:last-child td { border-bottom: none; }
display: none; align-items: center; justify-content: center; z-index: 70; padding: 32px;
}
.lightbox.open { display: flex; }
.lb-inner { max-width: 1100px; width: 100%; display: flex; flex-direction: column; gap: 12px; animation: rise .22s ease both; }
.lb-inner { max-width: 1100px; width: 100%; max-height: calc(100vh - 64px); overflow-y: auto; display: flex; flex-direction: column; gap: 12px; animation: rise .22s ease both; }
.lb-stage { display: flex; align-items: center; justify-content: center; gap: 16px; }
.lb-stage img { max-height: 74vh; max-width: 100%; border-radius: var(--r-md); box-shadow: var(--sh-lg); }
.lb-nav {
@@ -389,6 +389,9 @@ table.tbl tbody tr:last-child td { border-bottom: none; }
.lb-nav:hover { background: var(--surface-2); border-color: #3a4553; }
.lb-info { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--text-sub); }
.lb-info b { color: var(--text); font-weight: 600; }
.lb-prompt { padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); font-size: 12px; line-height: 1.7; }
.lb-prompt b { display: block; margin-bottom: 6px; color: var(--text); }
#lbPromptText { max-height: 160px; overflow-y: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-sub); }
/* ------------------------------------------------------------------ Statbox */
.stat { padding: 14px 16px; }