Skip to content

Commit

Permalink
💄 update spinner component to center align content
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineKM committed Oct 28, 2024
1 parent 70f9a40 commit 6c796af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/moody-houses-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"kitchn": patch
---

Update Spinner component to center align content
1 change: 1 addition & 0 deletions packages/kitchn/src/components/Spinner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const SpinnerComponent = styled(({ ...props }: SpinnerProps) => {
})`
display: flex;
align-items: center;
justify-content: center;
width: ${({ size }) => size || 50}px;
height: ${({ size }) => size || 50}px;
text-align: center;
Expand Down

0 comments on commit 6c796af

Please sign in to comment.