Skip to content

Commit

Permalink
change spacing between author and card
Browse files Browse the repository at this point in the history
  • Loading branch information
jackiequach committed Nov 7, 2023
1 parent 6dcfb5c commit 2e8942d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/ResultsList/ResultsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const ResultsList: React.FC<{ works: ApiWork[] }> = ({ works }) => {
<Heading
level="h2"
size="heading4"
marginBottom="xs"
sx={{
a: {
textDecoration: "none",
Expand All @@ -66,7 +67,9 @@ const ResultsList: React.FC<{ works: ApiWork[] }> = ({ works }) => {
</Heading>
<span>{EditionCardUtils.getSubtitle(work.sub_title)}</span>
{EditionCardUtils.getAuthorsList(work.authors) && (
<span>By {EditionCardUtils.getAuthorsList(work.authors)} </span>
<Box marginBottom="xs">
By {EditionCardUtils.getAuthorsList(work.authors)}
</Box>
)}
<EditionCard edition={previewEdition} title={work.title} />
<div className="editions-link">{getEditionsLinkElement(work)}</div>
Expand Down

0 comments on commit 2e8942d

Please sign in to comment.