advaisor-chatbot 1.3.0 → 1.4.0

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.
Files changed (2) hide show
  1. package/dist/testchatbot.js +34 -10
  2. package/package.json +1 -1
@@ -1431,23 +1431,47 @@ Please report this to https://github.com/markedjs/marked.`, e) {
1431
1431
  .chat-trigger:hover { transform: scale(1.05); }
1432
1432
 
1433
1433
  .chat-window {
1434
- resize: both;
1435
1434
  position: fixed;
1436
1435
  bottom: 20px;
1437
1436
  right: 20px;
1438
1437
  z-index: 10000;
1438
+
1439
1439
  display: none;
1440
1440
  flex-direction: column;
1441
- background: white;
1442
- box-shadow: 0 10px 25px rgba(0,0,0,0.2);
1443
- border-radius: 12px;
1444
- width: 400px;
1445
- max-width: 90vw;
1446
- height: 85vh;
1441
+
1442
+ background: #ffffff;
1443
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
1444
+
1445
+ width: 30vw;
1446
+ max-width: 420px;
1447
+
1448
+ height: 90vh;
1449
+ max-height: 90vh;
1450
+
1451
+ border-radius: 16px;
1447
1452
  overflow: hidden;
1448
- min-width: min(300px, 85vw);
1449
- min-height: min(450px, 85vw);
1450
- transition: width 0.2s ease, height 0.2s ease;
1453
+
1454
+ transition: all 0.25s ease;
1455
+
1456
+ resize: both;
1457
+ min-width: 300px;
1458
+ min-height: 450px;
1459
+ }
1460
+
1461
+ @media (max-width: 768px) {
1462
+ .chat-window {
1463
+ width: 100vw;
1464
+ max-width: 100vw;
1465
+
1466
+ min-height: 85vh;
1467
+ max-height: 85vh;
1468
+ height: auto;
1469
+
1470
+ bottom: 0;
1471
+ right: 0;
1472
+
1473
+ border-radius: 16px 16px 0 0; /* rounded top only */
1474
+ }
1451
1475
  }
1452
1476
 
1453
1477
  .chat-body {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "advaisor-chatbot",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Embeddable chatbot component",
5
5
  "main": "dist/testchatbot.js",
6
6
  "scripts": {