fix: minor ui fixes

pull/2977/head
Audric Ackermann 2 months ago
parent a52ed6490a
commit d267e7ccdc

@ -41,6 +41,7 @@ const StyledYourSessionIDSelectable = styled.p`
font-weight: 300;
font-size: var(--font-size-sm);
color: var(--text-primary-color);
flex-shrink: 0;
`;
export const YourSessionIDSelectable = () => {

@ -61,6 +61,7 @@ const StyledBannerInner = styled.div`
.session-button {
margin-top: var(--margins-md);
flex-grow: 1;
}
`;
@ -75,11 +76,13 @@ const BannerInner = () => {
return (
<StyledBannerInner>
<p>{window.i18n('recoveryPhraseRevealMessage')}</p>
<SessionButton
text={window.i18n('recoveryPhraseRevealButtonText')}
onClick={showRecoveryPhraseModal}
dataTestId="reveal-recovery-phrase"
/>
<Flex container={true} alignItems="center" justifyContent="center">
<SessionButton
text={window.i18n('recoveryPhraseRevealButtonText')}
onClick={showRecoveryPhraseModal}
dataTestId="reveal-recovery-phrase"
/>
</Flex>
</StyledBannerInner>
);
};

@ -138,7 +138,7 @@ export const OverlayMessage = () => {
justifyContent="space-between"
alignItems="center"
width="100%"
padding="0 var(--margins-md)" // YourSessionIDSelectable already has a left margin of 15px
padding="0 var(--margins-sm)" // YourSessionIDSelectable already has a left margin of 15px
>
<YourSessionIDSelectable />
<SessionIconButton iconSize="small" iconType="copy" onClick={copyOurSessionID} />

Loading…
Cancel
Save