react-better-html 1.1.137 → 1.1.138
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3503,6 +3503,7 @@ var PageHolderComponent = forwardRef7(function PageHolder({ noMaxContentWidth, c
|
|
|
3503
3503
|
});
|
|
3504
3504
|
PageHolderComponent.center = forwardRef7(function Center({
|
|
3505
3505
|
pageBackgroundColor,
|
|
3506
|
+
contentMaxWidth,
|
|
3506
3507
|
sideImageSrc,
|
|
3507
3508
|
sideImageName,
|
|
3508
3509
|
sideImagePosition = "right",
|
|
@@ -3531,7 +3532,7 @@ PageHolderComponent.center = forwardRef7(function Center({
|
|
|
3531
3532
|
Div_default.box,
|
|
3532
3533
|
{
|
|
3533
3534
|
width: `calc(100% - ${theme2.styles.space}px * 2)`,
|
|
3534
|
-
maxWidth: !noMaxContentWidth ? app.contentMaxWidth / 2 : void 0,
|
|
3535
|
+
maxWidth: !noMaxContentWidth ? contentMaxWidth ?? app.contentMaxWidth / 2 : void 0,
|
|
3535
3536
|
marginInline: theme2.styles.space,
|
|
3536
3537
|
marginBlock: theme2.styles.space,
|
|
3537
3538
|
...props,
|