@lobehub/ui 1.155.5 → 1.155.6
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/es/FormModal/index.js +3 -2
- package/es/FormModal/style.js +2 -2
- package/package.json +1 -1
package/es/FormModal/index.js
CHANGED
|
@@ -87,7 +87,6 @@ var FormModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
87
87
|
style: style,
|
|
88
88
|
styles: _objectSpread(_objectSpread({}, modalStyles), {}, {
|
|
89
89
|
body: _objectSpread({
|
|
90
|
-
paddingBottom: mobile ? 68 : undefined,
|
|
91
90
|
paddingTop: mobile ? 0 : undefined
|
|
92
91
|
}, modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.body)
|
|
93
92
|
}),
|
|
@@ -116,7 +115,9 @@ var FormModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
116
115
|
gap: gap || (variant === 'pure' ? 24 : gap),
|
|
117
116
|
onFinish: onFinish,
|
|
118
117
|
ref: ref,
|
|
119
|
-
style:
|
|
118
|
+
style: _objectSpread({
|
|
119
|
+
paddingBottom: 68
|
|
120
|
+
}, formStyle),
|
|
120
121
|
styles: {
|
|
121
122
|
footer: footerStyle
|
|
122
123
|
},
|
package/es/FormModal/style.js
CHANGED
|
@@ -7,7 +7,7 @@ export var useStyles = createStyles(function (_ref) {
|
|
|
7
7
|
prefixCls = _ref.prefixCls,
|
|
8
8
|
responsive = _ref.responsive;
|
|
9
9
|
return {
|
|
10
|
-
footer: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: calc(100% + 32px);\n margin: -16px;\n padding: 16px;\n background: ", ";\n ", " {\n position: fixed;\n
|
|
11
|
-
form: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n .", "-form-group-title {\n font-size: 15px;\n font-weight: 500;\n }\n\n ", " {\n .", "-form-group-title {\n font-size: 14px;\n }\n\n .", "-form-group {\n width: calc(100% + 32px);\n margin-inline: -16px;\n background: transparent;\n }\n }\n "])), prefixCls, responsive.mobile, prefixCls, prefixCls)
|
|
10
|
+
footer: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n inset-block-end: 0;\n inset-inline: 0;\n\n width: calc(100% + 32px);\n margin: -16px;\n padding: 16px;\n\n background: ", ";\n ", " {\n position: fixed;\n width: 100%;\n margin: 0;\n }\n "])), token.colorBgContainer, responsive.mobile),
|
|
11
|
+
form: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n .", "-form-group-title {\n font-size: 15px;\n font-weight: 500;\n }\n\n ", " {\n .", "-form-group-title {\n font-size: 14px;\n font-weight: normal;\n }\n\n .", "-form-group {\n width: calc(100% + 32px);\n margin-inline: -16px;\n background: transparent;\n }\n }\n "])), prefixCls, responsive.mobile, prefixCls, prefixCls)
|
|
12
12
|
};
|
|
13
13
|
});
|