@sesionario/blocks 1.22.1 → 1.22.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.js CHANGED
@@ -1661,11 +1661,11 @@ function TenantAvatar({
1661
1661
  "div",
1662
1662
  {
1663
1663
  className: cn(
1664
- "relative flex shrink-0 items-center justify-center overflow-hidden rounded-full font-medium",
1664
+ "flex shrink-0 items-center justify-center overflow-hidden rounded-full font-medium",
1665
1665
  sizeClass
1666
1666
  ),
1667
1667
  style: logo ? void 0 : avatarFallbackStyle(name),
1668
- children: logo ? /* @__PURE__ */ jsx("img", { src: logo, alt: "", className: "absolute -inset-px object-cover" }) : /* @__PURE__ */ jsx("span", { className: textClass, children: getInitials(name) })
1668
+ children: logo ? /* @__PURE__ */ jsx("img", { src: logo, alt: "", className: "size-full object-cover" }) : /* @__PURE__ */ jsx("span", { className: textClass, children: getInitials(name) })
1669
1669
  }
1670
1670
  );
1671
1671
  }
@@ -2192,7 +2192,14 @@ function MenuAvatar({
2192
2192
  "relative flex shrink-0 overflow-hidden rounded-full",
2193
2193
  sizeClass
2194
2194
  ),
2195
- children: image ? /* @__PURE__ */ jsx("img", { src: image, alt: "", className: "absolute -inset-px object-cover" }) : /* @__PURE__ */ jsx(
2195
+ children: image ? /* @__PURE__ */ jsx(
2196
+ "img",
2197
+ {
2198
+ src: image,
2199
+ alt: "",
2200
+ className: "aspect-square size-full object-cover"
2201
+ }
2202
+ ) : /* @__PURE__ */ jsx(
2196
2203
  "span",
2197
2204
  {
2198
2205
  className: "flex size-full items-center justify-center text-xs font-semibold",