Преглед изворни кода

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