Skip to content

Commit

Permalink
Increase bottom padding to prevent clipping (#5281)
Browse files Browse the repository at this point in the history
Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
  • Loading branch information
Cloud11PL and poulch committed Nov 29, 2024
1 parent 67687b3 commit 7250d03
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-poems-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Padding under home page tiles is now increased to prevent clipping
2 changes: 1 addition & 1 deletion src/newHome/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const HomePage = () => {
return (
<DetailPageLayout withSavebar={false}>
<Box gridColumn="8" gridRowStart="1" />
<DetailPageLayout.Content marginTop={6} paddingLeft={8}>
<DetailPageLayout.Content paddingTop={6} paddingLeft={8}>
<HomeTitle />
<HomeOnboarding />
<HomeTilesContainer />
Expand Down
3 changes: 2 additions & 1 deletion src/newHome/homeInfoTiles/TilesContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ export const HomeTilesContainer: React.FC = () => {
desktop: 2,
}}
gap={6}
marginTop={6}
marginRight={6}
marginY={6}
paddingBottom={6}
>
{tiles.map(tile => (
<HomeInfoTile key={tile.id} {...tile} />
Expand Down

0 comments on commit 7250d03

Please sign in to comment.