diff --git a/packages/frontend/src/app/validator/[hash]/Validator.js b/packages/frontend/src/app/validator/[hash]/Validator.js index 19ce4e1d9..6d359941b 100644 --- a/packages/frontend/src/app/validator/[hash]/Validator.js +++ b/packages/frontend/src/app/validator/[hash]/Validator.js @@ -10,7 +10,7 @@ import BlocksList from '../../../components/blocks/BlocksList' import TransactionsList from '../../../components/transactions/TransactionsList' import BlocksChart from './BlocksChart' import Link from 'next/link' -import { Identifier, DateBlock, Endpoint, IpAddress, InfoLine } from '../../../components/data' +import { Identifier, DateBlock, Endpoint, IpAddress, InfoLine, Credits } from '../../../components/data' import { ValueContainer, PageDataContainer, InfoContainer } from '../../../components/ui/containers' import { HorisontalSeparator } from '../../../components/ui/separators' import { ValidatorCard } from '../../../components/validators' @@ -205,7 +205,9 @@ function Validator ({ hash }) { title={'Rewards This Epoch'} value={( - {validator.data?.epochReward} + + {validator.data?.epochReward} + )} loading={validator.loading} @@ -216,12 +218,21 @@ function Validator ({ hash }) { title={'Total Rewards Earned'} value={( - {validator.data?.totalReward} + + {validator.data?.totalReward} + )} loading={validator.loading} error={validator.error || !(typeof validator.data?.totalReward === 'number')} /> + Height - + Time Block Hash - + TXs count diff --git a/packages/frontend/src/components/blocks/BlocksList.scss b/packages/frontend/src/components/blocks/BlocksList.scss index 47f81bc84..8eddf71a0 100644 --- a/packages/frontend/src/components/blocks/BlocksList.scss +++ b/packages/frontend/src/components/blocks/BlocksList.scss @@ -20,4 +20,25 @@ text-align: right; } } + + @media screen and (max-width: 620px) { + &__ColumnTitles { + grid-template-columns: 70px 90px calc(100% - 160px); + } + + &__ColumnTitle { + &--Hash { + display: none; + } + + &--Txs { + order: 0; + text-align: left !important; + } + + &--Time { + order: 2; + } + } + } } \ No newline at end of file