@firecms/core 3.0.0-canary.152 → 3.0.0-canary.153

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.es.js CHANGED
@@ -5076,8 +5076,10 @@ function EntityPreview({
5076
5076
  }
5077
5077
  )
5078
5078
  ] }),
5079
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col grow-1 w-full max-w-full m-1", children: [
5080
- size !== "small" && includeId && (entity ? /* @__PURE__ */ jsx("div", { className: `${size !== "large" ? "block whitespace-nowrap overflow-hidden truncate" : ""}`, children: /* @__PURE__ */ jsx(
5079
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col grow-1 w-full m-1 shrink-1", style: {
5080
+ "maxWidth": "calc(100% - 96px)"
5081
+ }, children: [
5082
+ size !== "small" && includeId && (entity ? /* @__PURE__ */ jsx("div", { className: "block whitespace-nowrap overflow-hidden truncate", children: /* @__PURE__ */ jsx(
5081
5083
  Typography,
5082
5084
  {
5083
5085
  variant: "caption",
@@ -5128,7 +5130,7 @@ function EntityPreview({
5128
5130
  );
5129
5131
  })
5130
5132
  ] }),
5131
- entity && includeEntityLink && /* @__PURE__ */ jsx(Tooltip, { title: `See details for ${entity.id}`, children: /* @__PURE__ */ jsx(
5133
+ entity && includeEntityLink && /* @__PURE__ */ jsx(Tooltip, { title: `See details for ${entity.id}`, className: "shrink-0", children: /* @__PURE__ */ jsx(
5132
5134
  IconButton,
5133
5135
  {
5134
5136
  color: "inherit",