ソースを参照

大小与间距细节稍微修改

xuyonghao 1 年間 前
コミット
0f51ea318d
2 ファイル変更2 行追加2 行削除
  1. 1 1
      src/modules/chart/df_iframe.vue
  2. 1 1
      src/modules/home/agent_card.vue

+ 1 - 1
src/modules/chart/df_iframe.vue

@@ -2,7 +2,7 @@
   <iframe
     id="dify"
     :src="iframe_url"
-    style="width: 100%; height: 100%; min-height: 700px"
+    style="width: 90%; height: 100%; min-height: 700px"
     frameborder="0"
     allow="microphone"
   >

+ 1 - 1
src/modules/home/agent_card.vue

@@ -100,7 +100,7 @@ const adjustContainerHeight = () => {
   if (agentsListContainer.value) {
     const windowHeight = window.innerHeight;
     const containerTop = agentsListContainer.value.getBoundingClientRect().top;
-    agentsListContainer.value.style.height = `${windowHeight - containerTop - 20}px`; // 20px 是底部的间距
+    agentsListContainer.value.style.height = `${windowHeight - containerTop - 55}px`; // 底部的间距
   }
 };
 const model_app = ref(null);