Skip to content

Commit

Permalink
fix(placement): fix on site search
Browse files Browse the repository at this point in the history
Move out of .main-page-content
  • Loading branch information
fiji-flo committed Oct 24, 2024
1 parent b0fcbca commit b4058c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion client/src/site-search/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@
.site-search {
display: block;

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

article {
display: contents;
}

.place {
float: right;
padding: 1rem;
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 b4058c2

Please sign in to comment.