@plastic-js/tsumiki 0.1.69 → 0.1.70
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.
|
@@ -130,6 +130,7 @@ var footerClass = css({
|
|
|
130
130
|
padding: "var(--tsu-container-padding-lg)",
|
|
131
131
|
flexShrink: 0
|
|
132
132
|
});
|
|
133
|
+
var footerSheetClass = css({ paddingBottom: "calc(var(--tsu-container-padding-lg) + env(safe-area-inset-bottom, 0px))" });
|
|
133
134
|
var footerBtnClass = css({
|
|
134
135
|
display: "flex",
|
|
135
136
|
gap: "20px",
|
|
@@ -324,7 +325,7 @@ var Dialog$1 = (props) => {
|
|
|
324
325
|
() => {
|
|
325
326
|
const _el0 = _tmpl4.cloneNode(true);
|
|
326
327
|
insert(_el0, () => footerContent);
|
|
327
|
-
setProp(_el0, "className", () => footerClass);
|
|
328
|
+
setProp(_el0, "className", () => isSheet ? `${footerClass} ${footerSheetClass}` : footerClass);
|
|
328
329
|
return _el0;
|
|
329
330
|
}
|
|
330
331
|
]
|