From 385356082c392b815af4350937e158620ea66632 Mon Sep 17 00:00:00 2001 From: Florian Dieminger Date: Fri, 25 Oct 2024 13:19:59 +0200 Subject: [PATCH] fix(placement): fix on site search (#12029) * fix(placement): fix on site search Move out of .main-page-content * fix padding --- client/src/site-search/index.scss | 7 ++++++- client/src/site-search/index.tsx | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/client/src/site-search/index.scss b/client/src/site-search/index.scss index dcb772ee23ad..d86421f29c87 100644 --- a/client/src/site-search/index.scss +++ b/client/src/site-search/index.scss @@ -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 { diff --git a/client/src/site-search/index.tsx b/client/src/site-search/index.tsx index 3d32b29653d9..0d3c15b6da9c 100644 --- a/client/src/site-search/index.tsx +++ b/client/src/site-search/index.tsx @@ -56,8 +56,8 @@ export function SiteSearch() { return (
+
- {query ? (

Search results for: {query}{" "}