@luscii-healthtech/web-ui 35.12.1 → 35.12.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.
|
@@ -7091,7 +7091,7 @@ DetailsDisclosure.Summary = Summary;
|
|
|
7091
7091
|
const ModalDialog = (_a) => {
|
|
7092
7092
|
var { open, className, size, onClose, children } = _a, rest = __rest(_a, ["open", "className", "size", "onClose", "children"]);
|
|
7093
7093
|
const dialog = React.useRef(null);
|
|
7094
|
-
const classes = classNames__default.default(className, "ui-bg-transparent", "ui-max-w-[calc(100dvw-theme('spacing.xl'))]", {
|
|
7094
|
+
const classes = classNames__default.default(className, "ui-bg-transparent", "ui-max-w-[calc(100dvw-theme('spacing.xl'))]", "ui-my-xl", "ui-top-0", "ui-bottom-auto", {
|
|
7095
7095
|
"md:ui-w-80": size === "s",
|
|
7096
7096
|
"md:ui-w-132": size === "m",
|
|
7097
7097
|
"md:ui-w-216": size === "l"
|
|
@@ -7110,7 +7110,7 @@ const ModalDialog = (_a) => {
|
|
|
7110
7110
|
React__namespace.default.createElement(
|
|
7111
7111
|
Card,
|
|
7112
7112
|
{ padding: false },
|
|
7113
|
-
React__namespace.default.createElement(Stack, { width: "full", align: "stretch", className: "ui-max-h-[calc(100dvh-theme('spacing.xl'))]" }, children)
|
|
7113
|
+
React__namespace.default.createElement(Stack, { width: "full", align: "stretch", className: "ui-max-h-[calc(100dvh-theme('spacing.xl')*2)]" }, children)
|
|
7114
7114
|
)
|
|
7115
7115
|
);
|
|
7116
7116
|
};
|