Skip to content

Commit

Permalink
Use superscript for the external link bootstrap icon
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Sep 25, 2023
1 parent 008a288 commit cfce15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primed/dbgap/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def render_dbgap_phs(self, value):

def render_dbgap_accession(self, value, record):
return format_html(
"""<a href="{}" target="_blank">{}<i class="bi bi-box-arrow-up-right ms-2"></i></a>
"""<a href="{}" target="_blank">{}<sup><i class="bi bi-box-arrow-up-right ms-1"></i></sup></a>
""".format(
record.get_dbgap_link(), value
)
Expand Down

0 comments on commit cfce15b

Please sign in to comment.