瀏覽代碼

Add customizable size for chatbot embed with default values (#9115)

Alter-xyz 8 月之前
父節點
當前提交
ec0aa32cd4
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      web/app/components/app/overview/embedded/index.tsx

+ 4 - 0
web/app/components/app/overview/embedded/index.tsx

@@ -52,6 +52,10 @@ const OPTION_MAP = {
   #dify-chatbot-bubble-button {
     background-color: ${primaryColor} !important;
   }
+  #dify-chatbot-bubble-window {
+    width: 24rem !important;
+    height: 40rem !important;
+  }
 </style>`,
   },
   chromePlugin: {