Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: Styling for chain icon and close and back icons is asset picker
Signed-off-by: Emre Bogazliyanlioglu <emre@wormholelabs.xyz>
  • Loading branch information
emreboga committed Oct 6, 2025
commit 55c444c2923690681571fe329d92d2526b5302fe
1 change: 0 additions & 1 deletion src/views/v3/Bridge/AssetPicker/ChainList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ function ChainList(props: Props) {
whiteSpace: 'nowrap',
},
chainIcon: {
border: '1px solid transparent',
borderRadius: '100%',
width: '24px',
height: '24px',
Expand Down
13 changes: 5 additions & 8 deletions src/views/v3/Bridge/AssetPicker/PickerHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,13 @@ function AssetPickerHeader({
justifyContent: 'center',
},
iconButton: {
padding: 0,
position: 'absolute',
backgroundColor: theme.palette.background.form,
border: '1px solid ' + theme.palette.input.border,
'&:hover': { backgroundColor: theme.palette.background.form },
},
icon: {
height: '16px',
width: '16px',
padding: '8px',
height: '32px',
width: '32px',
fontSize: '16px',
},
};

Expand All @@ -62,7 +59,7 @@ function AssetPickerHeader({
aria-label="Go back"
data-testid="back-button"
>
<ArrowBackRoundedIcon sx={styles.icon} />
<ArrowBackRoundedIcon fontSize="inherit" />
</IconButton>
)}
<Typography sx={styles.title} role="heading" aria-level={2}>
Expand All @@ -77,7 +74,7 @@ function AssetPickerHeader({
aria-label="Close routes"
data-testid="routes-close-button"
>
<CloseRoundedIcon sx={styles.icon} />
<CloseRoundedIcon fontSize="inherit" />
</IconButton>
</Box>
</>
Expand Down
Loading