1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 02:38:18 +00:00

Merge pull request #522 from trezor/fix/centered-dashboard-heading

Fixx/Center dashboard heading
This commit is contained in:
Vladimir Volek 2019-04-17 11:47:58 +02:00 committed by GitHub
commit 711779d622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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