@@ -5,7 +5,7 @@ import styled, { css } from 'styled-components';
55import Button from '../Button/Button' ;
66
77import { shadow as commonShadow , createFlatBoxStyles } from '../common' ;
8- import { blockSizes , fontSizes , padding } from '../common/system' ;
8+ import { blockSizes } from '../common/system' ;
99import Cutout from '../Cutout/Cutout' ;
1010
1111const sharedWrapperStyles = css `
@@ -15,7 +15,7 @@ const sharedWrapperStyles = css`
1515 justify-content: space-between;
1616 background: ${ ( { theme } ) => theme . canvas } ;
1717 color: ${ ( { theme } ) => theme . inputText } ;
18- font-size: ${ fontSizes . md } ;
18+ font-size: 1rem ;
1919` ;
2020const StyledSelectWrapper = styled ( Cutout ) `
2121 ${ sharedWrapperStyles }
@@ -26,7 +26,7 @@ const StyledFlatSelectWrapper = styled.div`
2626` ;
2727const StyledSelectContent = styled . div `
2828 width: 100%;
29- padding-left: ${ padding . sm } ;
29+ padding-left: 8px ;
3030 overflow: hidden;
3131 white-space: nowrap;
3232` ;
@@ -71,7 +71,7 @@ const StyledDropdownIcon = styled.span`
7171const StyledDropdownList = styled . ul `
7272 box-sizing: border-box;
7373
74- font-size: ${ fontSizes . md } ;
74+ font-size: 1rem ;
7575 position: absolute;
7676 transform: translateY(100%);
7777 left: 0px;
@@ -99,11 +99,11 @@ const StyledDropdownListItem = styled.li`
9999 box-sizing: border-box;
100100
101101 width: 100%;
102- padding-left: ${ padding . sm } ;
102+ padding-left: 8px ;
103103
104104 height: calc(${ blockSizes . md } - 4px);
105105 line-height: calc(${ blockSizes . md } - 4px);
106- font-size: ${ fontSizes . md } ;
106+ font-size: 1rem ;
107107 white-space: nowrap;
108108 overflow: hidden;
109109 text-overflow: ellipsis;
0 commit comments