Skip to content

Commit

Permalink
move finding aid out of grid
Browse files Browse the repository at this point in the history
  • Loading branch information
charmingduchess committed Dec 24, 2024
1 parent 81b9cf8 commit 35d8fc3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/SearchResults/ElectronicResourcesLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const ElectronicResourcesLink = ({
electronicResources,
}: ElectronicResourcesLinkProps) => {
return (
<Box mt="-4" data-testid="electronic-resources-link">
<Box mt="xs" data-testid="electronic-resources-link">
<Text
mb="xs"
fontSize={{ base: "mobile.body.body1", md: "desktop.body.body1" }}
Expand Down
2 changes: 1 addition & 1 deletion src/components/SearchResults/FindingAid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const FindingAid = ({ url }) => {
<Icon size="medium" name="errorOutline" iconRotation="rotate180" />
<Text
fontSize={{ base: "mobile.body.body2", md: "desktop.body.body2" }}
mb="0"
mb="xxxs"
>
The finding aid is a document containing details about the
organization and contents of this archival collection. <br />
Expand Down
2 changes: 1 addition & 1 deletion src/components/SearchResults/SearchResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ const SearchResult = ({ bib }: SearchResultProps) => {
<Text>{bib.getNumItemsMessage()}</Text>
</Box>

{bib.findingAid && <FindingAid url={bib.findingAid} />}
<SimpleGrid columns={1} gap="grid.l">
{bib.findingAid && <FindingAid url={bib.findingAid} />}
{bib.hasElectronicResources && (
<ElectronicResourcesLink
bibUrl={bib.url}
Expand Down

0 comments on commit 35d8fc3

Please sign in to comment.