diff --git a/dashboard/src/views/ConversationPage.vue b/dashboard/src/views/ConversationPage.vue index 2940e09c23..cb25012a37 100644 --- a/dashboard/src/views/ConversationPage.vue +++ b/dashboard/src/views/ConversationPage.vue @@ -227,7 +227,7 @@ - +
{{ selectedConversation?.title || tm('status.noTitle') }} @@ -1284,8 +1284,17 @@ export default { font-weight: 500; } +/* 编辑模式:编辑器填满剩余高度,避免与外层滚动条叠加 */ +.conversation-detail-card--edit > .v-card-text { + flex: 1; + min-height: 0; + display: flex; + flex-direction: column; +} + .monaco-editor-container { - height: 500px; + flex: 1; + min-height: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); @@ -1322,6 +1331,11 @@ export default { flex-direction: column; } +/* 编辑模式:卡片固定高度,让 flex 链完整,Monaco 填满剩余空间 */ +.v-dialog > .v-overlay__content > .conversation-detail-card--edit { + flex: 0 0 90vh; +} + .conversation-detail-title { display: flex; align-items: center;