mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 23:02:00 +08:00
Manually set pixel values for input control
This commit is contained in:
parent
fca5454b4d
commit
936d61a556
@ -28,7 +28,7 @@ const styles = ({ theme }: { theme: Theme }): CSSObject => ({
|
|||||||
borderRadius: theme.input.borderRadius,
|
borderRadius: theme.input.borderRadius,
|
||||||
fontSize: theme.typography.size.s2 - 1,
|
fontSize: theme.typography.size.s2 - 1,
|
||||||
lineHeight: '20px',
|
lineHeight: '20px',
|
||||||
padding: '.46em 1em', // 32
|
padding: '6px 10px', // 32
|
||||||
|
|
||||||
'&:focus': {
|
'&:focus': {
|
||||||
boxShadow: `${theme.color.secondary} 0 0 0 1px inset`,
|
boxShadow: `${theme.color.secondary} 0 0 0 1px inset`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user