Skip to content

Commit

Permalink
feat: add scroll bar on address list
Browse files Browse the repository at this point in the history
  • Loading branch information
dmy147 committed Sep 22, 2023
1 parent 07dbdac commit 474abcf
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 9 deletions.
12 changes: 12 additions & 0 deletions src/ui/assets/address/sort-by-alphabet-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 10 additions & 8 deletions src/ui/assets/address/sort-by-alphabet.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/ui/views/AddressManagement/SortPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
6 changes: 6 additions & 0 deletions src/ui/views/AddressManagement/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,12 @@

padding-top: 84px;
}
.address-group-list.management > .scroll-container {
&::-webkit-scrollbar {
display: initial;
}
.chromelike-scrollbar();
}
}

.custom-private-popup {
Expand Down

0 comments on commit 474abcf

Please sign in to comment.