@farmzone/fz-react-ui 0.0.9 → 0.0.10

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 CHANGED
@@ -8853,11 +8853,7 @@ function DetailContent(props) {
8853
8853
  layout = "compact",
8854
8854
  className
8855
8855
  } = props;
8856
- const containerClass = cn(
8857
- "overflow-y-auto",
8858
- layout === "compact" ? "max-h-[60vh]" : "min-h-0 flex-1",
8859
- className
8860
- );
8856
+ const containerClass = layout === "none" ? cn(className) : cn("overflow-y-auto", layout === "compact" ? "max-h-[60vh]" : "min-h-0 flex-1", className);
8861
8857
  if (!data) {
8862
8858
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(containerClass, "flex items-center justify-center p-8"), children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-gray-400", children: "\uB370\uC774\uD130\uB97C \uBD88\uB7EC\uC624\uB294 \uC911..." }) });
8863
8859
  }
@@ -8952,8 +8948,7 @@ function DetailModalFrame(props) {
8952
8948
  onSave,
8953
8949
  renderReadBody,
8954
8950
  renderEditBody,
8955
- layout: "compact",
8956
- className: "overflow-visible max-h-none"
8951
+ layout: "none"
8957
8952
  }
8958
8953
  ),
8959
8954
  renderExtraContent?.({ isEditMode })