@brndts/brndts-ads 1.11.1 → 1.11.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/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -71751,13 +71751,19 @@ var StaticRegionContent = /*#__PURE__*/ function(RegionContent) {
|
|
71751
71751
|
{
|
71752
71752
|
key: "render",
|
71753
71753
|
value: function render(force) {
|
71754
|
-
var _this_content
|
71754
|
+
var _this_content;
|
71755
71755
|
if ((_this_content = this.content) === null || _this_content === void 0 ? void 0 : _this_content.pending) {
|
71756
71756
|
return;
|
71757
71757
|
}
|
71758
|
-
this.container.style.width = "
|
71759
|
-
this.container.style.height = "
|
71758
|
+
this.container.style.width = "fit-content";
|
71759
|
+
this.container.style.height = "fit-content";
|
71760
71760
|
this.container.dataset.state = this.box.area(this.plane.size) > 0 ? "visible" : "hidden";
|
71761
|
+
this.container.childNodes.forEach(function(node) {
|
71762
|
+
if (_instanceof(node, HTMLElement)) {
|
71763
|
+
node.style.width = "fit-content";
|
71764
|
+
node.style.height = "fit-content";
|
71765
|
+
}
|
71766
|
+
});
|
71761
71767
|
}
|
71762
71768
|
}
|
71763
71769
|
]);
|