Skip to content

Commit

Permalink
Change default Skeleton height (#828)
Browse files Browse the repository at this point in the history
* change skeleton height

* changeset

* reduce skeleton size
  • Loading branch information
Cloud11PL authored Jul 26, 2024
1 parent df82ca9 commit 36a05eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/flat-avocados-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@saleor/macaw-ui": patch
---

Skeleton component now by default has same height as text
2 changes: 1 addition & 1 deletion src/components/Skeleton/Skeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const Skeleton = ({ className, ...props }: SkeletonProps) => {
className={classNames(skeleton, className)}
backgroundColor="default3"
width="100%"
height={1}
height={3}
borderRadius={2}
{...props}
/>
Expand Down

0 comments on commit 36a05eb

Please sign in to comment.