@@ -5,7 +5,7 @@ import styled, { css } from 'styled-components';
5
5
import Button from '../Button/Button' ;
6
6
7
7
import { shadow as commonShadow , createFlatBoxStyles } from '../common' ;
8
- import { blockSizes , fontSizes , padding } from '../common/system' ;
8
+ import { blockSizes } from '../common/system' ;
9
9
import Cutout from '../Cutout/Cutout' ;
10
10
11
11
const sharedWrapperStyles = css `
@@ -15,7 +15,7 @@ const sharedWrapperStyles = css`
15
15
justify-content: space-between;
16
16
background: ${ ( { theme } ) => theme . canvas } ;
17
17
color: ${ ( { theme } ) => theme . inputText } ;
18
- font-size: ${ fontSizes . md } ;
18
+ font-size: 1rem ;
19
19
` ;
20
20
const StyledSelectWrapper = styled ( Cutout ) `
21
21
${ sharedWrapperStyles }
@@ -26,7 +26,7 @@ const StyledFlatSelectWrapper = styled.div`
26
26
` ;
27
27
const StyledSelectContent = styled . div `
28
28
width: 100%;
29
- padding-left: ${ padding . sm } ;
29
+ padding-left: 8px ;
30
30
overflow: hidden;
31
31
white-space: nowrap;
32
32
` ;
@@ -71,7 +71,7 @@ const StyledDropdownIcon = styled.span`
71
71
const StyledDropdownList = styled . ul `
72
72
box-sizing: border-box;
73
73
74
- font-size: ${ fontSizes . md } ;
74
+ font-size: 1rem ;
75
75
position: absolute;
76
76
transform: translateY(100%);
77
77
left: 0px;
@@ -99,11 +99,11 @@ const StyledDropdownListItem = styled.li`
99
99
box-sizing: border-box;
100
100
101
101
width: 100%;
102
- padding-left: ${ padding . sm } ;
102
+ padding-left: 8px ;
103
103
104
104
height: calc(${ blockSizes . md } - 4px);
105
105
line-height: calc(${ blockSizes . md } - 4px);
106
- font-size: ${ fontSizes . md } ;
106
+ font-size: 1rem ;
107
107
white-space: nowrap;
108
108
overflow: hidden;
109
109
text-overflow: ellipsis;
0 commit comments