Explorar o código

enhance: set the max-height of ChatGPT UI

0xJacky %!s(int64=2) %!d(string=hai) anos
pai
achega
f36e582976
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      frontend/src/components/ChatGPT/ChatGPT.vue

+ 5 - 0
frontend/src/components/ChatGPT/ChatGPT.vue

@@ -260,6 +260,11 @@ const show = computed(() => messages?.value?.length > 1)
 .chatgpt {
     position: sticky;
     top: 78px;
+
+    :deep(.ant-card-body) {
+        max-height: 100vh;
+        overflow-y: scroll;
+    }
 }
 
 .chat-start {