mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 09:18:09 +00:00
Change font for textarea
This commit is contained in:
parent
0bca353ed5
commit
c25c8d5bfd
@ -3,6 +3,7 @@ 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 => ({
|
||||||
@ -12,6 +13,7 @@ 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',
|
||||||
@ -43,6 +45,7 @@ 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}`,
|
||||||
|
Loading…
Reference in New Issue
Block a user