Skip to content

Commit

Permalink
Converted "See All" links on Overview page
Browse files Browse the repository at this point in the history
- Changed the "See All" link in VulnerabilityCard.tsx from <h4> to <p> tags.
- Changed the "See All" link in TopVulnerableDomains.tsx from <h4> to <p> tags.
- Changed the "seeAll" class to target <p> tags vs <h4>.
  • Loading branch information
hawkishpolicy committed Jun 25, 2024
1 parent 4da1f16 commit adf69a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/Risk/TopVulnerableDomains.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ const TopVulnerableDomains = (props: { data: Point[] }) => {
return (
<div className={cardBig}>
<div className={seeAll}>
<h4>
<p>
<Link to="/inventory/vulnerabilities">See All</Link>
</h4>
</p>
</div>
<div className={header}>
<h2>Open Vulnerabilities by Domain</h2>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/Risk/VulnerabilityCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ const VulnerabilityCard = (props: {
const seeAllContent =
showLatest || showCommon ? (
<div className={seeAll}>
<h4>
<p>
<Link to={seeAllLink}>See All</Link>
</h4>
</p>
</div>
) : null;

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Risk/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const RiskRoot = styled('div')(({ theme }) => ({
float: 'right',
marginTop: '5px',
marginRight: '20px',
'& h4 a': {
'& p a': {
color: '#71767A',
fontSize: '12px',
fontWeight: '400'
Expand Down

0 comments on commit adf69a9

Please sign in to comment.