Skip to content

Commit

Permalink
Merge pull request #1908 from decentdao/dc/decent-ui-updates-scroll-a…
Browse files Browse the repository at this point in the history
…nd-font

UI updates: scroll and font
  • Loading branch information
Da-Colon authored May 24, 2024
2 parents 08b6d54 + 52af785 commit 4002b39
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 16 deletions.
2 changes: 2 additions & 0 deletions src/components/pages/DAOTreasury/components/Assets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ export function Assets() {
<AccordionPanel
p={0}
overflowX="scroll"
className="scroll-dark"
>
<CoinHeader />
{coinDisplay.displayData.map((coin, index) => {
Expand Down Expand Up @@ -457,6 +458,7 @@ export function Assets() {
<AccordionPanel
p={0}
overflowX="scroll"
className="scroll-dark"
>
<NFTHeader />
{assetsNonFungible.map((asset, index) => (
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/containers/TitledInfoBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export function TitledInfoBox({
borderRadius={{ base: '0.75rem', lg: '0.5rem' }}
maxW={CONTENT_MAXW}
overflowX="scroll"
className="scroll-dark"
{...rest}
>
<Text
Expand Down
17 changes: 1 addition & 16 deletions src/components/ui/menus/SafesMenu/SafesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,7 @@ export function SafesList() {
<Box
maxHeight="20rem"
overflowY="scroll"
sx={{
'&::-webkit-scrollbar': {
width: '0.5rem',
height: '0.5rem',
},
'&::-webkit-scrollbar-thumb': {
border: 'none',
boxShadow: 'none',
background: 'neutral-4',
borderRadius: '0.5rem',
minHeight: '2.5rem',
},
'&::-webkit-scrollbar-thumb:hover': {
backgroundColor: 'neutral-4',
},
}}
className="scroll-dark"
>
{favoritesList.map(favorite => (
<SafeMenuItem
Expand Down
1 change: 1 addition & 0 deletions src/pages/daos/[daoAddress]/treasury/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export default function Treasury() {
bg="neutral-3"
maxW={CONTENT_MAXW}
overflowX="scroll"
className="scroll-dark"
>
<Transactions shownTransactions={shownTransactions} />
</Box>
Expand Down

0 comments on commit 4002b39

Please sign in to comment.