Skip to content

Commit

Permalink
Move position by 20
Browse files Browse the repository at this point in the history
  • Loading branch information
stitesExpensify committed Jun 30, 2021
1 parent 1b095ea commit 13874c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/settings/Payments/PaymentsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ class PaymentsPage extends React.Component {
this.setState({
shouldShowAddPaymentMenu: true,
anchorPositionTop: position.bottom,
anchorPositionLeft: position.left,

// We want the position to be 20px to the right of the left border
anchorPositionLeft: position.left + 20,
});
}
}
Expand Down

0 comments on commit 13874c2

Please sign in to comment.