@moderneinc/neo-styled-components 2.0.3-next.ba615c → 2.0.3-next.db03d1

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.esm.js CHANGED
@@ -4826,19 +4826,7 @@ function NeoPageContent({ pageTitle, subtitle, breadcrumbs, action, sticky = fal
4826
4826
  pb: `${spacing.spacing_2_1_2}px`,
4827
4827
  height: '100%',
4828
4828
  overflow: 'auto',
4829
- }, children: [sticky ? (jsx(StickyHeader, { ref: headerRef, sx: {
4830
- pt: `${spacing.spacing_2}px`,
4831
- ...(contentMaxWidth !== false && {
4832
- maxWidth: theme => theme.breakpoints.values[contentMaxWidth],
4833
- width: '100%',
4834
- }),
4835
- }, children: headerContent })) : (jsx(Box, { ref: headerRef, sx: {
4836
- mb: `${spacing.spacing_1}px`,
4837
- ...(contentMaxWidth !== false && {
4838
- maxWidth: theme => theme.breakpoints.values[contentMaxWidth],
4839
- width: '100%',
4840
- }),
4841
- }, children: headerContent })), jsx(Box, { sx: {
4829
+ }, children: [sticky ? (jsx(StickyHeader, { ref: headerRef, sx: { pt: `${spacing.spacing_2}px` }, children: headerContent })) : (jsx(Box, { ref: headerRef, sx: { mb: `${spacing.spacing_1}px` }, children: headerContent })), jsx(Box, { sx: {
4842
4830
  flexGrow: 1,
4843
4831
  minHeight: 0,
4844
4832
  display: 'flex',