Skip to content

Commit

Permalink
Fix ledger webusb button margin
Browse files Browse the repository at this point in the history
  • Loading branch information
refi93 committed Jan 15, 2021
1 parent a0c5792 commit 8dbecc5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/frontend/components/pages/login/hardwareAuth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ const LoadByHardwareWalletSection = ({loadWallet}: Props) => {
<LedgerLogoWhite />
</div>
</button>
<div className="authentication-paragraph small">
<div className="authentication-paragraph small ledger-webusb">
alternatively, if the above does not work:
</div>
<button
className="button secondary"
className="button secondary ledger-webusb"
onClick={() =>
loadWallet({cryptoProviderType: CRYPTO_PROVIDER_TYPES.LEDGER, forceWebUsb: true})
}
Expand Down
8 changes: 8 additions & 0 deletions app/public/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,14 @@ p.hey {
background-image: url('../assets/logout_symbol_active.svg');
}

.button.secondary.ledger-webusb {
margin-top: 0px;
}

.authentication-paragraph.small.ledger-webusb {
margin-top: 8px;
}

.button.trezor {
position: relative;
padding-right: 119px;
Expand Down

0 comments on commit 8dbecc5

Please sign in to comment.