From b4058c285e798faf58bcdc4a0f45822b4158bd0c Mon Sep 17 00:00:00 2001 From: Florian Dieminger Date: Thu, 24 Oct 2024 14:04:35 +0200 Subject: [PATCH] fix(placement): fix on site search Move out of .main-page-content --- client/src/site-search/index.scss | 6 +++++- client/src/site-search/index.tsx | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/client/src/site-search/index.scss b/client/src/site-search/index.scss index dcb772ee23ad..aff425f9de81 100644 --- a/client/src/site-search/index.scss +++ b/client/src/site-search/index.scss @@ -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; 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}{" "}