mirror of
https://github.com/trezor/trezor-wallet
synced 2025-03-03 17:56:06 +00:00
change paddings in Log component
This commit is contained in:
parent
dbc5e86898
commit
d919dc00d7
@ -22,7 +22,7 @@ const Wrapper = styled.div`
|
|||||||
position: relative;
|
position: relative;
|
||||||
color: ${colors.INFO_PRIMARY};
|
color: ${colors.INFO_PRIMARY};
|
||||||
background: ${colors.INFO_SECONDARY};
|
background: ${colors.INFO_SECONDARY};
|
||||||
padding: 24px 48px;
|
padding: 24px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
@ -32,9 +32,10 @@ const Wrapper = styled.div`
|
|||||||
const Click = styled.div`
|
const Click = styled.div`
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 8px;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
padding: 12px;
|
padding-right: inherit;
|
||||||
|
padding-top: inherit;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
transition: opacity 0.3s;
|
transition: opacity 0.3s;
|
||||||
|
|
||||||
@ -61,7 +62,7 @@ const Log = (props: Props): ?React$Element<string> => {
|
|||||||
return (
|
return (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
<Click onClick={props.toggle}>
|
<Click onClick={props.toggle}>
|
||||||
<Icon size={25} color={colors.INFO_PRIMARY} icon={icons.CLOSE} />
|
<Icon size={24} color={colors.INFO_PRIMARY} icon={icons.CLOSE} />
|
||||||
</Click>
|
</Click>
|
||||||
<H2>Log</H2>
|
<H2>Log</H2>
|
||||||
<StyledParagraph isSmaller>Attention: The log contains your XPUBs. Anyone with your XPUBs can see your account history.</StyledParagraph>
|
<StyledParagraph isSmaller>Attention: The log contains your XPUBs. Anyone with your XPUBs can see your account history.</StyledParagraph>
|
||||||
|
Loading…
Reference in New Issue
Block a user