Skip to content

Commit

Permalink
fix(placement): fix on site search (#12029)
Browse files Browse the repository at this point in the history
* fix(placement): fix on site search

Move out of .main-page-content

* fix padding
  • Loading branch information
fiji-flo authored Oct 25, 2024
1 parent d77571f commit 3853560
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion client/src/site-search/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@
.site-search {
display: block;

article {
.main-content {
@media (max-width: $screen-md) {
display: flex;
flex-direction: column;
padding: 3rem 3rem 0;
}

article {
display: contents;
}

.place {
Expand Down
2 changes: 1 addition & 1 deletion client/src/site-search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export function SiteSearch() {
return (
<div className="main-wrapper site-search">
<MainContentContainer>
<SidePlacement />
<article className="main-page-content">
<SidePlacement />
{query ? (
<h1>
Search results for: <span className="query-string">{query}</span>{" "}
Expand Down

0 comments on commit 3853560

Please sign in to comment.