Skip to content

Commit

Permalink
Merge pull request brave#15077 from NejcZdovc/fix/brave#15073-solve
Browse files Browse the repository at this point in the history
Removes shadow
  • Loading branch information
bsclifton committed Aug 23, 2018
1 parent 18efca1 commit 59e4f42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Binary file modified app/extensions/brave/img/ledger/BAT_captcha_dragicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions app/renderer/components/preferences/payment/captcha.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ class Captcha extends ImmutableComponent {
event.preventDefault()
const target = this.captchaBox.getBoundingClientRect()

let x = event.clientX - target.left - this.dndStartPosition.x + (this.dndStartPosition.height / 2)
let y = event.clientY - target.top - this.dndStartPosition.y + (this.dndStartPosition.width / 2)
let x = event.clientX - target.left - this.dndStartPosition.x + (this.dndStartPosition.width / 2)
let y = event.clientY - target.top - this.dndStartPosition.y + (this.dndStartPosition.height / 2)

if (isWindows) {
const dpr = window.devicePixelRatio
Expand Down Expand Up @@ -198,9 +198,9 @@ const styles = StyleSheet.create({
},

enabledContent__captcha__image: {
flexBasis: '66px',
height: '62px',
marginTop: '10px',
flexBasis: '57px',
height: '49px',
marginTop: '15px',
position: 'relative',
zIndex: '2',
cursor: 'pointer'
Expand Down

0 comments on commit 59e4f42

Please sign in to comment.