diff --git a/core/core-frontend/src/views/copilot/index.vue b/core/core-frontend/src/views/copilot/index.vue index a494425982..5b87d9a119 100644 --- a/core/core-frontend/src/views/copilot/index.vue +++ b/core/core-frontend/src/views/copilot/index.vue @@ -368,6 +368,7 @@ const queryAnswer = (event?: KeyboardEvent) => { .copilot { width: 100%; height: 100%; + max-height: calc(100vh - 56px); .copilot-analysis { background-color: #fff; @@ -386,12 +387,15 @@ const queryAnswer = (event?: KeyboardEvent) => { .dialogue { flex: 1; position: relative; + max-height: 100%; + .copilot-dialogue { padding: 0 160px; padding-top: 24px; position: relative; overflow-y: auto; padding-bottom: 25px; + max-height: 100%; } .question-input { min-height: 47px;