fix: 修复剧本拆解结果滚动并收拢配置
This commit is contained in:
@@ -588,6 +588,27 @@ body {
|
||||
overflow: hidden;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
/* 拆解结果使用剩余高度,不能再用视口比例定高后隐藏长列表。 */
|
||||
.breakdown-results-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
min-width: 0;
|
||||
gap: 8px;
|
||||
}
|
||||
.breakdown-results-section > .result-toolbar {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.breakdown-results-section > .content-with-history {
|
||||
flex: 1;
|
||||
height: auto;
|
||||
min-height: 0;
|
||||
grid-template-rows: minmax(0, 1fr);
|
||||
}
|
||||
.breakdown-results-scroll .n-scrollbar-content {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
/* 连续阅读区保留双栏,执行记录按需展开,不挤占默认阅读宽度。 */
|
||||
.script-section .n-tabs-tab__label {
|
||||
display: inline-flex;
|
||||
@@ -1023,6 +1044,9 @@ body {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
grid-template-rows: minmax(0, 1fr) 130px;
|
||||
}
|
||||
.breakdown-results-section > .content-with-history {
|
||||
grid-template-rows: minmax(0, 1fr) min(25%, 130px);
|
||||
}
|
||||
.history-panel {
|
||||
overflow: hidden;
|
||||
min-height: 0;
|
||||
|
||||
Reference in New Issue
Block a user