Skip to content

Commit

Permalink
fix misalignment in view sync code modal
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Dec 13, 2018
1 parent bfa3c54 commit 4d73cae
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions components/brave_sync/ui/components/modals/viewSyncCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ export default class ViewSyncCodeModal extends React.PureComponent<Props, {}> {
return (
<Modal id='viewSyncCodeModal' onClose={onClose} size='small'>
<ViewSyncCodeGrid>
<div style={{ textAlign: 'center' }}>
<ModalTitle level={3}>{getLocale('qrCode')}</ModalTitle>
<QRCode size='small' src={syncData.seedQRImageSource} />
</div>
<div>
<ModalTitle level={3}>{getLocale('wordCode')}</ModalTitle>
<TextAreaClipboard
Expand All @@ -50,6 +46,17 @@ export default class ViewSyncCodeModal extends React.PureComponent<Props, {}> {
defaultValue={syncData.syncWords}
/>
</div>
<div>
<ModalTitle level={3}>{getLocale('qrCode')}</ModalTitle>
<QRCode
size='small'
src={syncData.seedQRImageSource}
style={{
// TODO: @cezaraugusto fix this in brave-ui
border: '1px solid #DFDFE8'
}}
/>
</div>
</ViewSyncCodeGrid>
<TwoColumnButtonGrid>
<div>{getLocale('privateKey')}</div>
Expand Down

0 comments on commit 4d73cae

Please sign in to comment.