Skip to content

Commit

Permalink
Search page fix container padding
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcss committed Nov 7, 2024
1 parent b2f59d3 commit 3ade2c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/theme/SearchPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ function SearchPageContent () {
<meta property="robots" content="noindex, follow"/>
</Head>

<div className="container margin-vert--lg">
<main>
<Heading as="h1" className="mb-24">
{searchResultState.totalResults} {getTitle()}
</Heading>
Expand Down Expand Up @@ -397,7 +397,7 @@ function SearchPageContent () {
</div>

{searchResultState.items.length > 0 ? (
<main className="d-grid gap-44">
<div className="d-grid gap-44">
{searchResultState.items.map(
({ breadcrumbs, items }, i) => (

Expand Down Expand Up @@ -446,7 +446,7 @@ function SearchPageContent () {

)
)}
</main>
</div>
) : (
[
searchQuery && !searchResultState.loading && (
Expand All @@ -473,7 +473,7 @@ function SearchPageContent () {
</Translate>
</div>
)}
</div>
</main>
</Layout>
)
}
Expand Down

0 comments on commit 3ade2c9

Please sign in to comment.