Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Fixes learn more spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed Jan 9, 2019
1 parent ca59eda commit b63b022
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/features/rewards/walletPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ export default class WalletPanel extends React.PureComponent<Props, {}> {
{
!isVerified && showUnVerified
? <StyledNoticeWrapper>
{getLocale('unVerifiedText')}
<StyledNoticeLink href={moreLink} target={'_blank'}> {getLocale('unVerifiedTextMore')}</StyledNoticeLink>
{getLocale('unVerifiedText')} <StyledNoticeLink href={moreLink} target={'_blank'}> {getLocale('unVerifiedTextMore')}</StyledNoticeLink>
</StyledNoticeWrapper>
: null
}
Expand Down
4 changes: 2 additions & 2 deletions src/features/rewards/walletPanel/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

import styled from 'styled-components'
import palette from '../../../theme/palette'

interface StyleProps {
size?: string
Expand Down Expand Up @@ -94,9 +95,8 @@ export const StyledNoticeWrapper = styled<StyleProps, 'div'>('div')`
`

export const StyledNoticeLink = styled<StyleProps, 'a'>('a')`
color: #0089FF;
color: ${palette.blue400};
font-weight: bold;
text-decoration: none;
display: inline-block;
margin-left: 4px;
`
3 changes: 1 addition & 2 deletions src/features/rewards/walletSummary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ export default class WalletSummary extends React.PureComponent<Props, {}> {
{
reservedAmount && reservedAmount > 0
? <StyledReservedWrapper>
{getLocale('reservedAmountText', { reservedAmount })}
<StyledReservedLink href={reservedMoreLink} target={'_blank'}>
{getLocale('reservedAmountText', { reservedAmount })} <StyledReservedLink href={reservedMoreLink} target={'_blank'}>
{getLocale('reservedMoreLink')}
</StyledReservedLink>
</StyledReservedWrapper>
Expand Down
4 changes: 2 additions & 2 deletions src/features/rewards/walletSummary/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

import styled from 'styled-components'
import palette from '../../../theme/palette'

interface StyleProps {
compact?: boolean
Expand Down Expand Up @@ -88,9 +89,8 @@ export const StyledReservedWrapper = styled<{}, 'div'>('div')`
`

export const StyledReservedLink = styled<StyleProps, 'a'>('a')`
color: #0089FF;
color: ${palette.blue400};
font-weight: bold;
text-decoration: none;
display: inline-block;
margin-left: 4px;
`

0 comments on commit b63b022

Please sign in to comment.