소스 검색

【优化】处理空的对话,消息靠左问题

cherishsince 1 년 전
부모
커밋
7f25419caf
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      src/views/ai/chat/index.vue

+ 4 - 1
src/views/ai/chat/index.vue

@@ -498,11 +498,14 @@ onMounted(async () => {
   position: relative;
 }
 
-
 .message-container {
   position: absolute;
   top: 0;
   bottom: 0;
+  left: 0;
+  right: 0;
+  //width: 100%;
+  //height: 100%;
   overflow-y: scroll;
   padding: 0 15px;
 }