Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Commit

Permalink
make standalone link a button on the bottom right (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
macpd authored Jul 6, 2020
1 parent 4055397 commit c65460f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/AdUnit.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,17 @@ const AdDetails = (params) => {
<Modal.Title>Cluster ID: {params.details.ad_cluster_id}</Modal.Title>
</Modal.Header>
<Modal.Body>
<a href={"/cluster?ad_id=" + params.details.canonical_archive_id}>Standalone view of this cluster</a>
<br />
<AdDetailsContent
details={params.details}
/>
</Modal.Body>
<Modal.Footer>
<Button className="right"
href={"/cluster?ad_id=" + params.details.canonical_archive_id}
target="_blank"
>
Standalone view of this cluster
</Button>{" "}
<Button
className="right"
href={ad_url}
Expand Down

0 comments on commit c65460f

Please sign in to comment.