chore(send): fix available amount border left

This commit is contained in:
George Lima 2019-02-11 10:54:03 -03:00
parent 0d3e535ea5
commit 1a08b740f5
1 changed files with 4 additions and 6 deletions

View File

@ -159,11 +159,9 @@ const ConfirmItemWrapper = styled(RowComponent)`
width: 100%;
`;
type ItemLabelProps =
| {
type ItemLabelProps = {
color: string,
}
| Object;
};
/* eslint-disable max-len */
const ItemLabel = styled(TextComponent)`
font-weight: ${(props: PropsWithTheme<ItemLabelProps>) => String(props.theme.fontWeight.bold)};
@ -227,7 +225,7 @@ const MaxAvailableAmount = styled.button`
background: none;
color: white;
cursor: pointer;
border-left: ${props => `1px solid ${props.theme.colors.background}`};
border-left: ${props => `1px solid ${props.theme.colors.background(props)}`};
opacity: 0.8;
&:hover {