diff --git a/.changeset/curvy-toys-clean.md b/.changeset/curvy-toys-clean.md new file mode 100644 index 00000000..f15a8f09 --- /dev/null +++ b/.changeset/curvy-toys-clean.md @@ -0,0 +1,5 @@ +--- +'@status-im/components': patch +--- + +fix Step spacing diff --git a/packages/components/src/step/step.stories.tsx b/packages/components/src/step/step.stories.tsx index 63c8e429..1aa1f45b 100644 --- a/packages/components/src/step/step.stories.tsx +++ b/packages/components/src/step/step.stories.tsx @@ -56,17 +56,17 @@ export const AllVariants: Story = { args: {}, render: () => ( - + - + - + diff --git a/packages/components/src/step/step.tsx b/packages/components/src/step/step.tsx index c777a26c..54da3c8a 100644 --- a/packages/components/src/step/step.tsx +++ b/packages/components/src/step/step.tsx @@ -30,11 +30,14 @@ export { Step } export type { Props as StepProps } const Base = styled(Stack, { - padding: 2, + paddingVertical: 1, + minWidth: 20, + maxWidth: 28, display: 'inline-flex', justifyContent: 'center', alignItems: 'center', flexBasis: 'fit-content', + width: 'fit-content', }) const Content = styled(Stack, { @@ -42,8 +45,7 @@ const Content = styled(Stack, { paddingHorizontal: 3, paddingVertical: 0, borderRadius: '$6', - minHeight: 18, - maxHeight: 18, + height: 18, minWidth: 18, maxWidth: 28, justifyContent: 'center',