fyrebot-widget 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ChatbotWidget.d.ts.map +1 -1
- package/dist/ChatbotWidget.js +8 -12
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatbotWidget.d.ts","sourceRoot":"","sources":["../src/ChatbotWidget.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAC;AAGxE,OAAO,KAAK,EAAE,aAAa,EAAe,MAAM,SAAS,CAAC;AAE1D,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"ChatbotWidget.d.ts","sourceRoot":"","sources":["../src/ChatbotWidget.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAC;AAGxE,OAAO,KAAK,EAAE,aAAa,EAAe,MAAM,SAAS,CAAC;AAE1D,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAy+BjD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/dist/ChatbotWidget.js
CHANGED
|
@@ -636,28 +636,24 @@ export const ChatbotWidget = ({ apiUrl, apiKey, title = 'AI Assistant', subtitle
|
|
|
636
636
|
|
|
637
637
|
/* Mobile responsiveness */
|
|
638
638
|
@media (max-width: 480px) {
|
|
639
|
+
/* Don't modify the container positioning - let it stay fixed at bottom-right for the button */
|
|
639
640
|
.chatbot-widget-container {
|
|
640
|
-
|
|
641
|
-
right: 0 !important;
|
|
642
|
-
left: 0 !important;
|
|
643
|
-
top: 0 !important;
|
|
641
|
+
/* Keep default positioning from parent styles */
|
|
644
642
|
}
|
|
645
643
|
|
|
646
644
|
.chatbot-button {
|
|
647
|
-
|
|
648
|
-
bottom: 20px;
|
|
649
|
-
right: 20px;
|
|
645
|
+
/* Button stays in corner */
|
|
650
646
|
width: 56px;
|
|
651
647
|
height: 56px;
|
|
652
|
-
z-index: 10000;
|
|
653
648
|
}
|
|
654
649
|
|
|
655
650
|
.chatbot-window {
|
|
651
|
+
/* Only the chat window covers full screen when open */
|
|
656
652
|
position: fixed;
|
|
657
|
-
bottom: 0;
|
|
658
|
-
right: 0;
|
|
659
|
-
left: 0;
|
|
660
|
-
top: 0;
|
|
653
|
+
bottom: 0 !important;
|
|
654
|
+
right: 0 !important;
|
|
655
|
+
left: 0 !important;
|
|
656
|
+
top: 0 !important;
|
|
661
657
|
width: 100%;
|
|
662
658
|
max-width: 100%;
|
|
663
659
|
height: 100%;
|
package/package.json
CHANGED