Skip to content

Commit

Permalink
add more dd
Browse files Browse the repository at this point in the history
  • Loading branch information
charmingduchess committed Jan 5, 2024
1 parent e8c65ae commit 3382e1b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/components/BibPage/BibDetail.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Box, Link as DSLink, List } from "@nypl/design-system-react-components"
import { Link as DSLink, List } from "@nypl/design-system-react-components"

import RCLink from "../RCLink/RCLink"

Expand Down Expand Up @@ -57,9 +57,9 @@ const buildCompoundSubjectHeadingElement = (field: SubjectHeadingDetail) => {
<>
<dt>{field.label}</dt>
{subjectHeadingLinksPerSubject.map((subject, i) => (
<Box data-testid="subjectLinksPer" key={"subject-" + i}>
<dd data-testid="subjectLinksPer" key={"subject-" + i}>
{subject}
</Box>
</dd>
))}
</>
)
Expand All @@ -70,9 +70,11 @@ const buildLinkedElement = (field: LinkedBibDetail) => {
return (
<>
<dt>{field.label}</dt>
{field.value.map((urlInfo: Url) => {
return linkElement(urlInfo, internalOrExternal)
})}
<dd>
{field.value.map((urlInfo: Url) => {
return linkElement(urlInfo, internalOrExternal)
})}
</dd>
</>
)
}
Expand Down

0 comments on commit 3382e1b

Please sign in to comment.