浏览代码

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

Alter-xyz 6 月之前
父节点
当前提交
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: {