Skip to content

Commit 40cf3c5

Browse files
committed
refactor: smaller refinements
1 parent 175a516 commit 40cf3c5

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

packages/ui/__stories__/Button.stories.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ stories.add('Overview', () => (
3131
Small
3232
</Button>
3333
</p>
34-
<p>
35-
<Button variant="primary" size="regular">
36-
Medium
37-
</Button>
38-
</p>
3934
<p>
4035
<Button variant="primary" size="large">
4136
<Svg
@@ -75,9 +70,6 @@ stories.add('Overview', () => (
7570
<p>
7671
<Button size="small">Small</Button>
7772
</p>
78-
<p>
79-
<Button size="regular">Medium</Button>
80-
</p>
8173
<p>
8274
<Button size="large">Large</Button>
8375
</p>

packages/ui/src/Input/Input.treat.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const input = styleMap(({ palette, sizing, shape, typography }) => ({
2525
backgroundColor: 'transparent',
2626
backgroundClip: 'padding-box',
2727
color: palette.text,
28-
padding: `calc(${sizing('regular')} / 2)`,
28+
padding: sizing('small'),
2929
...typography.variant('regular'),
3030
textAlign: 'inherit',
3131
textOverflow: 'ellipsis',
@@ -37,11 +37,11 @@ export const input = styleMap(({ palette, sizing, shape, typography }) => ({
3737
},
3838
startAdornment: {
3939
display: 'flex',
40-
padding: sizing('none', 'tiny'),
40+
paddingLeft: sizing('small'),
4141
},
4242
endAdornment: {
4343
display: 'flex',
44-
padding: sizing('none', 'tiny'),
44+
paddingRight: sizing('small'),
4545
},
4646
}));
4747

0 commit comments

Comments
 (0)