Skip to content

Commit 82867fb

Browse files
committed
fix(Menu): styles
1 parent d76c0a6 commit 82867fb

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/components/pickers/Menu/MenuButton.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ import { ReactElement, ReactNode } from 'react';
33

44
import { CheckIcon } from '../../../icons';
55
import { tasty } from '../../../tasty';
6-
import {
7-
DEFAULT_BUTTON_STYLES,
8-
DEFAULT_NEUTRAL_STYLES,
9-
} from '../../actions/index';
6+
import { DEFAULT_BUTTON_STYLES, DEFAULT_NEUTRAL_STYLES } from '../../actions';
107
import { Block, CubeBlockProps } from '../../Block';
118
import { Text } from '../../content/Text';
129
import { Space } from '../../layout/Space';
@@ -37,9 +34,8 @@ const StyledButton = tasty(Block, {
3734
shadow: '#clear',
3835
padding: {
3936
'': '0 (1x - 1bw)',
40-
'selectable & !selected': '0 (1.5x - 1bw) 0 (1.5x - 1bw)',
4137
'selectionIcon & selectable & !selected':
42-
'0 (1.5x - 1bw) 0 (1.5x - 1bw + 3x)',
38+
'0 (1x - 1bw) 0 (1x - 1bw + 3x)',
4339
},
4440
display: 'flex',
4541
flow: 'row',

src/components/pickers/Menu/styled.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const StyledHeader = tasty(Space, {
5454
styles: {
5555
color: '#dark-02',
5656
preset: 't2m',
57-
padding: '0.75x 2x',
57+
padding: '0.75x 1.5x',
5858
margin: '-0.5x -0.5x (0.5x - 1bw) -0.5x',
5959
border: '#dark-05 bottom',
6060
placeContent: 'space-between',

0 commit comments

Comments
 (0)