Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Removes shadow #15077

Merged
merged 1 commit into from
Aug 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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