feat: 优化剧集连续阅读布局与目录滚动联动

This commit is contained in:
GouJ
2026-09-01 17:02:39 +08:00
parent 3fe1b3f5c3
commit a35f5fe82d
7 changed files with 540 additions and 146 deletions
-64
View File
@@ -665,47 +665,6 @@
11px/1.9 ui-monospace,
monospace;
}
.script-workspace {
display: grid;
grid-template-columns: 166px minmax(0, 1fr);
height: 100%;
}
.episode-list {
border-right: 1px solid var(--color-line);
padding: 0 7px 20px;
background: var(--app-surface);
max-height: 850px;
overflow: hidden;
}
.episode-link {
display: flex;
align-items: center;
gap: 9px;
width: 100%;
text-align: left;
padding: 11px 9px;
border-radius: 4px;
font-size: 11px;
color: var(--color-muted);
}
.episode-link:hover {
background: var(--app-subtle);
}
.episode-link.active {
color: var(--app-ink);
background: var(--app-subtle);
font-weight: 500;
}
.episode-number {
font:
10px ui-monospace,
monospace;
opacity: 0.7;
}
.script-page {
padding: 34px 34px 50px;
min-width: 0;
}
.script-summary {
font-size: 12px;
color: var(--color-muted);
@@ -918,29 +877,6 @@
font-size: 23px;
}
.script-workspace {
grid-template-columns: minmax(0, 1fr);
}
.episode-list {
display: flex;
overflow: hidden;
border-right: 0;
border-bottom: 1px solid var(--color-line);
padding: 8px;
gap: 4px;
}
.episode-list > p {
display: none;
}
.episode-link {
width: auto;
max-width: 170px;
flex-shrink: 0;
}
.script-page {
padding: 25px 20px 35px;
}
.breakdown-config {
grid-template-columns: minmax(0, 1fr);
}