mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-30 12:18:09 +00:00
Merge pull request #522 from trezor/fix/centered-dashboard-heading
Fixx/Center dashboard heading
This commit is contained in:
commit
711779d622
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user