feat(hub): enlarge archive quotes panel and show full text on expand

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-11 20:33:51 +08:00
parent a9c40097b3
commit e7e3a49151
3 changed files with 66 additions and 10 deletions
+34 -6
View File
@@ -5493,7 +5493,7 @@ body.funds-fullscreen-open {
flex-direction: column;
gap: 10px;
padding: 12px;
min-height: 100%;
min-height: calc(100vh - 200px);
overflow: hidden;
}
.archive-panel-head {
@@ -5527,9 +5527,12 @@ body.funds-fullscreen-open {
font-size: 0.82rem;
resize: vertical;
}
.archive-quote-form textarea {
min-height: 110px;
}
.archive-quotes-list {
flex: 1 1 auto;
min-height: 0;
min-height: 420px;
overflow: auto;
display: flex;
flex-direction: column;
@@ -5543,13 +5546,21 @@ body.funds-fullscreen-open {
}
.archive-quote-summary {
display: grid;
grid-template-columns: auto 1fr;
grid-template-columns: auto 1fr auto;
gap: 8px;
align-items: center;
padding: 8px 10px;
cursor: pointer;
list-style: none;
}
.archive-quote-open-hint {
font-size: 0.7rem;
color: var(--accent);
white-space: nowrap;
}
.archive-quote-card[open] .archive-quote-open-hint {
color: var(--muted);
}
.archive-quote-summary::-webkit-details-marker {
display: none;
}
@@ -5572,9 +5583,21 @@ body.funds-fullscreen-open {
flex-direction: column;
gap: 8px;
}
.archive-quote-full {
padding: 10px 12px;
border-radius: 8px;
border: 1px solid var(--border-soft);
background: var(--panel);
color: var(--text);
font-size: 0.82rem;
line-height: 1.55;
white-space: pre-wrap;
word-break: break-word;
max-height: none;
}
.archive-quote-edit {
width: 100%;
min-height: 72px;
min-height: 160px;
padding: 8px 10px;
border-radius: 8px;
border: 1px solid var(--border-soft);
@@ -5583,6 +5606,8 @@ body.funds-fullscreen-open {
font-family: var(--font);
font-size: 0.8rem;
resize: vertical;
line-height: 1.55;
white-space: pre-wrap;
}
.archive-quote-actions {
display: flex;
@@ -5914,8 +5939,11 @@ body.funds-fullscreen-open {
min-height: 0;
}
.archive-quotes-panel {
min-height: 280px;
max-height: 320px;
min-height: 360px;
max-height: none;
}
.archive-quotes-list {
min-height: 220px;
}
}