1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +00:00

Use default font for 'Select'

This commit is contained in:
Vasek Mlejnsky 2018-09-20 08:43:41 +02:00
parent 5e85e1b0bc
commit 22e87b287b

View File

@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
import ReactSelect from 'react-select'; import ReactSelect from 'react-select';
import ReactAsyncSelect from 'react-select/lib/Async'; import ReactAsyncSelect from 'react-select/lib/Async';
import colors from 'config/colors'; import colors from 'config/colors';
import { FONT_FAMILY } from 'config/variables';
const styles = isSearchable => ({ const styles = isSearchable => ({
singleValue: base => ({ singleValue: base => ({
@ -13,7 +12,6 @@ const styles = isSearchable => ({
}), }),
control: (base, { isDisabled }) => ({ control: (base, { isDisabled }) => ({
...base, ...base,
fontFamily: FONT_FAMILY.MONOSPACE,
minHeight: 'initial', minHeight: 'initial',
height: '100%', height: '100%',
borderRadius: '2px', borderRadius: '2px',
@ -45,7 +43,6 @@ const styles = isSearchable => ({
menuList: base => ({ menuList: base => ({
...base, ...base,
padding: 0, padding: 0,
fontFamily: FONT_FAMILY.MONOSPACE,
boxShadow: 'none', boxShadow: 'none',
background: colors.WHITE, background: colors.WHITE,
borderLeft: `1px solid ${colors.DIVIDER}`, borderLeft: `1px solid ${colors.DIVIDER}`,