ソースを参照

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: {