@gisce/react-ooui 2.111.0-alpha.3 → 2.111.0-alpha.5

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.
@@ -1113,7 +1113,7 @@ const As = (t) => {
1113
1113
  return /* @__PURE__ */ s(c, {});
1114
1114
  {
1115
1115
  const l = { ...n };
1116
- return r && (l.width = `${r}px`), o && (l.height = `${o}px`), !r && !o && (l.maxWidth = "100px"), /* @__PURE__ */ s("img", { src: `data:image/*;base64,${e}`, style: l });
1116
+ return r && o ? (l.width = `${r}px`, l.height = `${o}px`) : r ? (l.width = `${r}px`, l.height = "auto") : o ? (l.height = `${o}px`, l.width = "auto") : l.maxWidth = "100px", /* @__PURE__ */ s("img", { src: `data:image/*;base64,${e}`, style: l });
1117
1117
  }
1118
1118
  }
1119
1119
  }, gf = (t) => {