Skip to content

Commit

Permalink
[Wallets] [Fix] Rostislav / WALL-2591 / Transactions tab wrong order …
Browse files Browse the repository at this point in the history
…and dropdown width on mobile (#11459)

* fix: inconsistencies

* refactor: apply suggestion

* refactor: remove `WalletDropdown` `max-width`
  • Loading branch information
rostislav-deriv committed Nov 16, 2023
1 parent b3f869e commit d35ceb9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
margin-top: -2.4rem;
}

// adjust filter dropdown width
.wallets-dropdown {
max-width: 19.5rem;
@include mobile {
max-width: unset;
}
}

&__header {
position: sticky;
top: -4.8rem; // ignore CashierContent padding
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ const filtersMapper: Record<string, Record<string, TFilterValue>> = {
completed: {
all: undefined,
deposit: 'deposit',
transfer: 'transfer',
withdrawal: 'withdrawal',
// eslint-disable-next-line sort-keys
transfer: 'transfer',
},
pending: {
all: 'all',
Expand Down

1 comment on commit d35ceb9

@vercel
Copy link

@vercel vercel bot commented on d35ceb9 Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-app – ./

deriv-app.vercel.app
binary.sx
deriv-app-git-master.binary.sx
deriv-app.binary.sx

Please sign in to comment.