Skip to content

Commit

Permalink
Add spacing, content t-shirt sizes to sticker sheet (#4595)
Browse files Browse the repository at this point in the history
  • Loading branch information
taysea authored Dec 16, 2024
1 parent 52674f0 commit 6b8fbe8
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions sandbox/grommet-app/src/pages/sticker-sheet/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,42 @@ const StickerSheet = () => {
/>
</Compare>
</ContentPane>
<ContentPane>
<Box gap="small">
{Object.keys(hpeCurrent.global.edgeSize).map(
size =>
size !== 'responsiveBreakpoint' && (
<Compare key={size}>
<Box
alignSelf="start"
background={{ color: 'blue', opacity: 'medium' }}
pad={{ left: size }}
height="xxsmall"
flex={false}
/>
</Compare>
),
)}
</Box>
</ContentPane>
<ContentPane overflow={{ horizontal: 'auto' }}>
<Box gap="small">
{Object.keys(hpeCurrent.global.size).map(
size =>
size !== 'responsiveBreakpoint' && (
<Compare key={size}>
<Box
alignSelf="start"
background={{ color: 'blue', opacity: 'medium' }}
width={size}
height={size}
flex={false}
/>
</Compare>
),
)}
</Box>
</ContentPane>
</PageContent>
</Page>
</ModeContext.Provider>
Expand Down

0 comments on commit 6b8fbe8

Please sign in to comment.