mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-13 20:08:56 +00:00
Fixed modal overflow
This commit is contained in:
parent
25b268e816
commit
e9f938e522
@ -5,6 +5,7 @@ import P from 'components/Paragraph';
|
||||
import Icon from 'components/Icon';
|
||||
import icons from 'config/icons';
|
||||
import { H3 } from 'components/Heading';
|
||||
import { LINE_HEIGHT } from 'config/variables';
|
||||
|
||||
const Wrapper = styled.div`
|
||||
width: 390px;
|
||||
@ -21,6 +22,12 @@ const Content = styled.div`
|
||||
padding: 24px 48px;
|
||||
`;
|
||||
|
||||
const StyledP = styled(P)`
|
||||
word-wrap: break-word;
|
||||
padding: 5px 0;
|
||||
line-height: ${LINE_HEIGHT.SMALL}
|
||||
`;
|
||||
|
||||
const Label = styled.div`
|
||||
padding-top: 5px;
|
||||
font-size: 10px;
|
||||
@ -49,7 +56,7 @@ const ConfirmSignTx = (props) => {
|
||||
<Label>Send</Label>
|
||||
<P>{`${amount} ${currency}` }</P>
|
||||
<Label>To</Label>
|
||||
<P>{ address }</P>
|
||||
<StyledP>{ address }</StyledP>
|
||||
<Label>Fee</Label>
|
||||
<P>{ selectedFeeLevel.label }</P>
|
||||
</Content>
|
||||
|
@ -41,5 +41,6 @@ export const TRANSITION = {
|
||||
};
|
||||
|
||||
export const LINE_HEIGHT = {
|
||||
SMALL: '1.4',
|
||||
BASE: '1.8',
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user