@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.js
CHANGED
|
@@ -1386,7 +1386,7 @@ function getTriggerStyles() {
|
|
|
1386
1386
|
flex-shrink: 0;
|
|
1387
1387
|
}
|
|
1388
1388
|
|
|
1389
|
-
.yak-widget-icon { width:
|
|
1389
|
+
.yak-widget-icon { width: 24px; height: 24px; color: currentColor; }
|
|
1390
1390
|
|
|
1391
1391
|
.yak-widget-trigger-icon-btn {
|
|
1392
1392
|
display: inline-flex; align-items: center; justify-content: center;
|
|
@@ -1797,8 +1797,8 @@ var YakEmbed = class {
|
|
|
1797
1797
|
const logoImg = document.createElement("img");
|
|
1798
1798
|
logoImg.src = `${this.client.getIframeOrigin()}/logo.svg`;
|
|
1799
1799
|
logoImg.alt = "";
|
|
1800
|
-
logoImg.width =
|
|
1801
|
-
logoImg.height =
|
|
1800
|
+
logoImg.width = 24;
|
|
1801
|
+
logoImg.height = 24;
|
|
1802
1802
|
logoImg.className = "yak-widget-icon";
|
|
1803
1803
|
iconBg.appendChild(logoImg);
|
|
1804
1804
|
this.triggerEl.appendChild(iconBg);
|