mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 06:01:05 +08:00
Fix MenuButton size
This commit is contained in:
parent
4f2d6d4d68
commit
c693d12e2d
@ -44,7 +44,7 @@ export const MenuButton: FC<ComponentProps<typeof Button> & { highlighted: boole
|
|||||||
>(({ highlighted, theme }) => ({
|
>(({ highlighted, theme }) => ({
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
overflow: 'visible',
|
overflow: 'visible',
|
||||||
padding: 7,
|
padding: 8,
|
||||||
transition: 'none', // prevents button border from flashing when focused/blurred
|
transition: 'none', // prevents button border from flashing when focused/blurred
|
||||||
'&:focus': {
|
'&:focus': {
|
||||||
background: theme.barBg,
|
background: theme.barBg,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user