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

Commit

Permalink
Merge pull request #539 from brave/lear-verified
Browse files Browse the repository at this point in the history
Making verified state background clear
  • Loading branch information
ryanml committed Sep 18, 2019
1 parent 0ca5339 commit ab91c34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/features/rewards/walletWrapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ export default class WalletWrapper extends React.PureComponent<Props, State> {
return (
<StyledVerifiedButton
onClick={this.toggleVerificationDetails}
active={this.state.verificationDetails}
id={'verified-wallet-button'}
>
<StyledVerifiedButtonIcon position={'before'}>
Expand Down
9 changes: 3 additions & 6 deletions src/features/rewards/walletWrapper/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ export const StyledPipe = styled<StyledProps, 'span'>('span')`
font-weight: 300;
`

export const StyledVerifiedButton = styled<{active: boolean}, 'button'>('button')`
export const StyledVerifiedButton = styled<{}, 'button'>('button')`
box-sizing: border-box;
outline-color: transparent;
display: flex;
Expand All @@ -332,11 +332,8 @@ export const StyledVerifiedButton = styled<{active: boolean}, 'button'>('button'
min-width: 88px;
padding: 7px 10px;
color: #fff;
background: ${palette.green600};
border: 1px solid ${p => p.theme.color[p.active ? 'brandBatActive' : 'brandBat']};
:active:enabled {
border-color: ${p => p.theme.color.brandBatActive};
}
background: inherit;
border: none;
`

export const StyledVerifiedButtonText = styled<{}, 'div'>('div')`
Expand Down

0 comments on commit ab91c34

Please sign in to comment.