mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: remove noMaxWidth
This commit is contained in:
1 parent
6ca3ce731b
commit
7a9f43657d
3 files changed
+3
-5
No files matched your search
@@ -6,7 +6,6 @@ import { BlitzKitTheme } from './BlitzKitTheme';
|
||||
|
||||
type PageWrapperProps = FlexProps & {
|
||||
color?: ComponentProps<typeof Theme>['accentColor'];
|
||||
noMaxWidth?: boolean;
|
||||
containerProps?: ComponentProps<typeof Theme>;
|
||||
noFlex1?: boolean;
|
||||
padding?: RadixSize;
|
||||
@@ -17,7 +16,6 @@ export function PageWrapper({
|
||||
style,
|
||||
color,
|
||||
children,
|
||||
noMaxWidth = false,
|
||||
noFlex1 = false,
|
||||
containerProps,
|
||||
noMinHeight = false,
|
||||
@@ -41,7 +39,7 @@ export function PageWrapper({
|
||||
gap="4"
|
||||
p={padding}
|
||||
width="100%"
|
||||
maxWidth={noMaxWidth ? undefined : '50rem'}
|
||||
maxWidth="50rem"
|
||||
style={{
|
||||
margin: 'auto',
|
||||
boxSizing: 'border-box',
|
||||
|
||||
Reference in new issue
Block a user