Skip to content

Commit

Permalink
fix: styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Korniichuk Oleksandr authored and esaminu committed Jan 19, 2022
1 parent 5412c14 commit 47e0792
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Container = styled.div`
color: #A7A29E;
display: flex;
flex-direction: row;
&:first-of-type {
&:first-of-type > div{
color: #24272a;
max-width: 165px;
overflow: hidden;
Expand Down Expand Up @@ -169,8 +169,10 @@ export default function ValidatorBox({
{label && <div className='with'><Translate id='staking.validatorBox.with' /></div>}
<UserIcon background={true} />
<div className='left'>
<div data-test-id="stakingPageValidatorItemName">
{validatorId}
<div className='container'>
<div data-test-id="stakingPageValidatorItemName">
{validatorId}
</div>
{isProjectValidator && <Tooltip translate='staking.balanceBox.farm.info' />}
</div>
{typeof fee === 'number' &&
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/translations/pt.global.json
Original file line number Diff line number Diff line change
Expand Up @@ -1110,9 +1110,9 @@
"info": "Esses tokens foram removidos de stake, mas ainda não estão disponíveis para serem sacados. Tokens ficam disponíveis entre 52 a 65 horas após a remoção."
},
"farm": {
"title": "Total token earned",
"button": "Claim",
"info": "This is project validator. You’ll get the farming reward while staking on it.",
"button": "Claim"
"title": "Total token earned"
}
},
"validatorBox": {
Expand Down

0 comments on commit 47e0792

Please sign in to comment.