fix(工作台): copilot页面异常当超出一页页面无法滚动 (#14050)

This commit is contained in:
dataeaseShu 2024-12-13 17:49:27 +08:00 committed by GitHub
parent 74113faed1
commit ee3a16299b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -368,6 +368,7 @@ const queryAnswer = (event?: KeyboardEvent) => {
.copilot { .copilot {
width: 100%; width: 100%;
height: 100%; height: 100%;
max-height: calc(100vh - 56px);
.copilot-analysis { .copilot-analysis {
background-color: #fff; background-color: #fff;
@ -386,12 +387,15 @@ const queryAnswer = (event?: KeyboardEvent) => {
.dialogue { .dialogue {
flex: 1; flex: 1;
position: relative; position: relative;
max-height: 100%;
.copilot-dialogue { .copilot-dialogue {
padding: 0 160px; padding: 0 160px;
padding-top: 24px; padding-top: 24px;
position: relative; position: relative;
overflow-y: auto; overflow-y: auto;
padding-bottom: 25px; padding-bottom: 25px;
max-height: 100%;
} }
.question-input { .question-input {
min-height: 47px; min-height: 47px;