@yak-io/javascript 0.11.1 → 0.11.2
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/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1424,7 +1424,7 @@ function getTriggerStyles() {
|
|
|
1424
1424
|
flex-shrink: 0;
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
|
-
.yak-widget-icon { width:
|
|
1427
|
+
.yak-widget-icon { width: 24px; height: 24px; color: currentColor; }
|
|
1428
1428
|
|
|
1429
1429
|
.yak-widget-trigger-icon-btn {
|
|
1430
1430
|
display: inline-flex; align-items: center; justify-content: center;
|
|
@@ -1835,8 +1835,8 @@ var YakEmbed = class {
|
|
|
1835
1835
|
const logoImg = document.createElement("img");
|
|
1836
1836
|
logoImg.src = `${this.client.getIframeOrigin()}/logo.svg`;
|
|
1837
1837
|
logoImg.alt = "";
|
|
1838
|
-
logoImg.width =
|
|
1839
|
-
logoImg.height =
|
|
1838
|
+
logoImg.width = 24;
|
|
1839
|
+
logoImg.height = 24;
|
|
1840
1840
|
logoImg.className = "yak-widget-icon";
|
|
1841
1841
|
iconBg.appendChild(logoImg);
|
|
1842
1842
|
this.triggerEl.appendChild(iconBg);
|