Skip to content

Commit

Permalink
Clarify layout of table actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
TreyE committed Sep 9, 2024
1 parent a3aefc1 commit 02ff96f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
9 changes: 9 additions & 0 deletions assets/frontend/pages.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,13 @@
margin-inline-end: 0px;
padding-inline-start: 40px;
unicode-bidi: isolate;
}

td.table-actions-list ul {
margin: 0px;
padding-left: 0px;
}

td.table-actions-list ul li{
list-style: none;
}
8 changes: 5 additions & 3 deletions assets/frontend/pages/DeliverableVersions/ShowComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ export default function ShowComponent({ deliverable_version }) {
const deliverableSbomTags = deliverable_version.version_sboms.map((d) => {
return <tr key={d.id}>
<td><a href={d.version_sbom_url}>{d.name}</a></td>
<td>
<a href={d.analyzed_version_sbom_url}>Analyzed Version</a>
<a href={d.vulnerability_report_download_url}>Mitigation Report</a>
<td className="table-actions-list">
<ul>
<li><a href={d.analyzed_version_sbom_url}>Analyzed Version</a></li>
<li><a href={d.vulnerability_report_download_url}>Mitigation Report</a></li>
</ul>
</td>
</tr>
});
Expand Down

0 comments on commit 02ff96f

Please sign in to comment.