Skip to content

Commit

Permalink
requested change
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiolalombardim committed May 28, 2024
1 parent 12ae5c0 commit 40318e7
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions src/modules/explorer/pages/Treasury/components/TransfersTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,33 @@ const Container = styled(Grid)({

const Title = styled(Typography)({
color: "#fff",
fontSize: 24
fontSize: 24,
cursor: "default"
})

const Subtitle = styled(Typography)(({ theme }) => ({
color: theme.palette.primary.light,
fontSize: 16,
fontWeight: 300
fontWeight: 300,
cursor: "default"
}))

const SubtitleAddress = styled(Typography)(({ theme }) => ({
"color": theme.palette.primary.light,
"fontSize": 16,
"fontWeight": 300,
"cursor": "pointer",
"&:hover": {
textDecoration: "underline"
}
}))

const AmountText = styled(Typography)(({ theme }) => ({
color: "#fff",
fontSize: 18,
fontWeight: 300,
lineHeight: "160%"
lineHeight: "160%",
cursor: "default"
}))

const BlockExplorer = styled(Typography)({
Expand Down Expand Up @@ -272,7 +285,9 @@ const TransfersTableItems: React.FC<{ data: RowData[]; network: Network }> = ({
<Title>{row.token}</Title>
</Grid>
<Grid item container direction={isSmall ? "column" : "row"} style={{ gap: 10 }}>
<Subtitle>To {toShortAddress(row.address)}</Subtitle>
<SubtitleAddress onClick={() => openBlockExplorer(row.hash)}>
To {toShortAddress(row.address)}
</SubtitleAddress>
{isSmall ? null : <Subtitle></Subtitle>}
<Subtitle>{dayjs(row.date).format("ll")}</Subtitle>
</Grid>
Expand Down

0 comments on commit 40318e7

Please sign in to comment.