mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: sticky sandbox
This commit is contained in:
1 parent
9ba239caf0
commit
f820d05082
3 files changed
+175
-121
No files matched your search
@@ -3,7 +3,7 @@ import { ComponentProps } from 'react';
|
||||
|
||||
interface PageWrapperProps extends ComponentProps<typeof Flex> {
|
||||
color?: ComponentProps<typeof Theme>['accentColor'];
|
||||
size?: 'regular' | 'wide';
|
||||
size?: 'regular' | 'wide' | 'full';
|
||||
}
|
||||
|
||||
export default function PageWrapper({
|
||||
@@ -19,7 +19,7 @@ export default function PageWrapper({
|
||||
gap="4"
|
||||
style={{
|
||||
width: '100%',
|
||||
maxWidth: size === 'regular' ? 800 : 960,
|
||||
maxWidth: size === 'regular' ? 800 : size === 'full' ? '100%' : 960,
|
||||
margin: 'auto',
|
||||
padding: 16,
|
||||
boxSizing: 'border-box',
|
||||
|
||||
Reference in new issue
Block a user