livechat 0.2.0 → 0.2.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/livechat/version.rb +1 -1
- data/lib/livechat/widget.js +6 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab3b69e1c61320ea9df88571fc2fcad40c09c44e0f14f961b59a87d23ffc161e
|
|
4
|
+
data.tar.gz: b6750a5aef1f99e7a6d2a49ed2fbcd6bb9cb1fb992cefd176e552f7d281f42e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12421cafc2a629e4d1621dea03a984bd1e88d6ae9418390bd9767533208827da379f3d858cfd1c1eb1a6b47d2bb1aebaecedce8ff810f7f4fdc1197473c276e3
|
|
7
|
+
data.tar.gz: 53b24b739628a3fdf69082ff652a1770d1acfa18c385152e61a2f9985faa82eac968f0c0be4ff36561957d9d8a3fa2bd53c7c671d2df02d0564ac10a96bc8eda
|
data/CHANGELOG.md
CHANGED
data/lib/livechat/version.rb
CHANGED
data/lib/livechat/widget.js
CHANGED
|
@@ -116,6 +116,9 @@
|
|
|
116
116
|
root = document.createElement("div");
|
|
117
117
|
root.id = "lvc-root";
|
|
118
118
|
if (config.rtl) root.setAttribute("dir", "rtl");
|
|
119
|
+
// No launcher bubble to clear — the panel sits in the corner instead of
|
|
120
|
+
// hovering 66px above nothing.
|
|
121
|
+
if (!config.launcher) root.className = "lvc-no-launcher";
|
|
119
122
|
|
|
120
123
|
if (config.launcher) root.appendChild(buildLauncher());
|
|
121
124
|
document.body.appendChild(root);
|
|
@@ -544,7 +547,9 @@
|
|
|
544
547
|
"border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.28);display:flex;flex-direction:column;overflow:hidden}" +
|
|
545
548
|
"#lvc-panel[hidden]{display:none}" +
|
|
546
549
|
"#lvc-root[dir=rtl] #lvc-panel{right:auto;left:20px}" +
|
|
547
|
-
"
|
|
550
|
+
"#lvc-root.lvc-no-launcher #lvc-panel{bottom:20px;max-height:calc(100dvh - 40px)}" +
|
|
551
|
+
"@media(max-width:480px){#lvc-panel{right:12px;bottom:80px}" +
|
|
552
|
+
"#lvc-root.lvc-no-launcher #lvc-panel{right:12px;bottom:12px;max-height:calc(100dvh - 24px)}}" +
|
|
548
553
|
"#lvc-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;" +
|
|
549
554
|
"padding:14px 16px;background:var(--lvc-accent);color:var(--lvc-accent-text)}" +
|
|
550
555
|
"#lvc-header strong{display:block;font-size:15px}" +
|