Skip to content

Commit

Permalink
Fix view all button
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Oct 28, 2024
1 parent befe6eb commit 55d968c
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions centrifuge-app/src/components/IssuerSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ const StyledBox = styled(Box)`
}
`

const HoverBox = styled(StyledBox)`
const StyledRouterTextLink = styled(RouterTextLink)`
color: white;
text-decoration: unset;
font-size: 14px;
padding: 8px 22px;
background-color: ${SUBTLE_GRAY};
border: 3px solid transparent;
Expand All @@ -45,12 +48,6 @@ const HoverBox = styled(StyledBox)`
border-radius: 4px;
border-color: #91969b1a;
}
`

const StyledRouterTextLink = styled(RouterTextLink)`
color: white;
text-decoration: unset;
font-size: 14px;
:active {
color: white;
}
Expand Down Expand Up @@ -98,9 +95,7 @@ export function ReportDetails({ metadata }: IssuerSectionProps) {
<Text color="white" variant="heading4">
Reports
</Text>
<HoverBox backgroundColor={SUBTLE_GRAY}>
<StyledRouterTextLink to={`${pathname}/reporting`}>View all</StyledRouterTextLink>
</HoverBox>
<StyledRouterTextLink to={`${pathname}/reporting`}>View all</StyledRouterTextLink>
</Box>

<Box marginY={2} backgroundColor={SUBTLE_GRAY} borderRadius={10}>
Expand Down

0 comments on commit 55d968c

Please sign in to comment.