diff --git a/src/ui/assets/address/sort-by-alphabet-2.svg b/src/ui/assets/address/sort-by-alphabet-2.svg new file mode 100644 index 00000000000..f9effb76b87 --- /dev/null +++ b/src/ui/assets/address/sort-by-alphabet-2.svg @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/src/ui/assets/address/sort-by-alphabet.svg b/src/ui/assets/address/sort-by-alphabet.svg index 47b35ba4136..b06ca5963a3 100644 --- a/src/ui/assets/address/sort-by-alphabet.svg +++ b/src/ui/assets/address/sort-by-alphabet.svg @@ -1,10 +1,12 @@ - - + - - - - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/src/ui/views/AddressManagement/SortPopup.tsx b/src/ui/views/AddressManagement/SortPopup.tsx index 34bf0855d74..60c72d3d90e 100644 --- a/src/ui/views/AddressManagement/SortPopup.tsx +++ b/src/ui/views/AddressManagement/SortPopup.tsx @@ -2,7 +2,7 @@ import { Item, Popup } from '@/ui/component'; import React, { useMemo } from 'react'; import ImgSortByUsd from '@/ui/assets/address/sort-by-usd-l.svg'; import ImgSortByType from '@/ui/assets/address/sort-by-type.svg'; -import ImgSortByAlphabet from '@/ui/assets/address/sort-by-alphabet.svg'; +import ImgSortByAlphabet from '@/ui/assets/address/sort-by-alphabet-2.svg'; import ImgChecked from '@/ui/assets/address/checked.svg'; import { useRabbyDispatch, useRabbySelector } from '@/ui/store'; diff --git a/src/ui/views/AddressManagement/index.tsx b/src/ui/views/AddressManagement/index.tsx index 0e3316feb0e..69e930da9c6 100644 --- a/src/ui/views/AddressManagement/index.tsx +++ b/src/ui/views/AddressManagement/index.tsx @@ -469,7 +469,6 @@ const AddressManagement = () => { listRef.current?.resetAfterIndex(0); }, [accountsList.length]); - console.log('currentAccountIndex', currentAccountIndex); return (
@@ -581,7 +580,7 @@ const AddressManagement = () => { itemData={filteredAccounts} itemCount={filteredAccounts.length} itemSize={getItemSize} - className="scroll-container" + className="address-scroll-container" overscanCount={6} > {Row} diff --git a/src/ui/views/AddressManagement/style.less b/src/ui/views/AddressManagement/style.less index b89ae3d21de..df687df7fcd 100644 --- a/src/ui/views/AddressManagement/style.less +++ b/src/ui/views/AddressManagement/style.less @@ -271,6 +271,12 @@ padding-top: 84px; } + .address-group-list.management > .address-scroll-container { + &::-webkit-scrollbar { + display: initial; + } + .chromelike-scrollbar(); + } } .custom-private-popup {