diff --git a/packages/antd/src/components/formButtonGroup.js b/packages/antd/src/components/formButtonGroup.js index cd9c19434ce..fd39ca21391 100644 --- a/packages/antd/src/components/formButtonGroup.js +++ b/packages/antd/src/components/formButtonGroup.js @@ -88,29 +88,31 @@ export const FormButtonGroup = styled( if (sticky) { return ( - - {({ inline, FormRef } = {}) => { - if (!FormRef) return - return ( - -
- {content} -
-
- ) - }} -
+
+ + {({ inline, FormRef } = {}) => { + if (!FormRef) return + return ( + +
+ {content} +
+
+ ) + }} +
+
) } diff --git a/packages/next/src/components/formButtonGroup.js b/packages/next/src/components/formButtonGroup.js index ca2a8bdf7d3..1189bc033f8 100644 --- a/packages/next/src/components/formButtonGroup.js +++ b/packages/next/src/components/formButtonGroup.js @@ -88,29 +88,31 @@ export const FormButtonGroup = styled( if (sticky) { return ( - - {({ inline, FormRef } = {}) => { - if (!FormRef) return - return ( - -
- {content} -
-
- ) - }} -
+
+ + {({ inline, FormRef } = {}) => { + if (!FormRef) return + return ( + +
+ {content} +
+
+ ) + }} +
+
) }