1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-02-15 09:32:00 +00:00

center dashboard heading

This commit is contained in:
slowbackspace 2019-04-16 17:31:32 +02:00
parent aeb48b202a
commit 75b1030824

View File

@ -52,6 +52,10 @@ const StyledCoinLogo = styled(CoinLogo)`
} }
`; `;
const StyledH4 = styled(H4)`
text-align: center;
`;
const getBaseUrl = device => { const getBaseUrl = device => {
let baseUrl = ''; let baseUrl = '';
if (device && device.features) { if (device && device.features) {
@ -67,9 +71,9 @@ const Dashboard = (props: Props) => (
<Content> <Content>
<Wrapper> <Wrapper>
<Row data-test="Dashboard__page__content"> <Row data-test="Dashboard__page__content">
<H4> <StyledH4>
<FormattedMessage {...l10nMessages.TR_PLEASE_SELECT_YOUR} /> <FormattedMessage {...l10nMessages.TR_PLEASE_SELECT_YOUR} />
</H4> </StyledH4>
<StyledP> <StyledP>
<FormattedMessage {...l10nMessages.TR_YOU_WILL_GAIN_ACCESS} /> <FormattedMessage {...l10nMessages.TR_YOU_WILL_GAIN_ACCESS} />
</StyledP> </StyledP>