Skip to content

Commit

Permalink
fixup! Feat(web-react): Introduce Box component #DS-1595
Browse files Browse the repository at this point in the history
  • Loading branch information
curdaj committed Dec 23, 2024
1 parent 2220abc commit 6476415
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ const BoxWithCustomPadding = () => (
>
With custom padding for each direction
</Box>
<Box paddingLeft={{ mobile: 'space-600', tablet: 'space-800', desktop: 'space-1000' }} borderWidth="100">
<Box
paddingX={{ mobile: 'space-400', tablet: 'space-800', desktop: 'space-1200' }}
paddingY={{ mobile: 'space-200', tablet: 'space-400', desktop: 'space-600' }}
borderWidth="100"
>
With responsive padding
</Box>
</>
Expand Down

0 comments on commit 6476415

Please sign in to comment.