Skip to content

Commit

Permalink
Move margin to SimpleGrid gap prop
Browse files Browse the repository at this point in the history
  • Loading branch information
dgcohen committed Oct 19, 2023
1 parent 0abce5b commit 3c77ee9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pages/search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ export default function Search({ results }) {
>
{totalResults ? (
<>
<Heading level="three">
<Heading level="three" mb="xl">
{`Displaying 1-50 of ${totalResults.toLocaleString()} results for keyword "${
searchParams.q
}"`}
</Heading>
<SimpleGrid columns={1}>
<SimpleGrid columns={1} gap="grid.xl">
{searchResultBibs.map((bib: SearchResultsBib) => {
return <SearchResult key={bib.id} bib={bib} />
})}
Expand Down
1 change: 0 additions & 1 deletion src/components/SearchResult/SearchResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const SearchResult = ({ bib }: SearchResultProps) => {
sx={{
borderBottom: "1px solid var(--nypl-colors-ui-border-default)",
paddingBottom: "var(--nypl-space-m)",
marginBottom: "var(--nypl-space-l)",
}}
>
<CardHeading level="three">
Expand Down

0 comments on commit 3c77ee9

Please sign in to comment.