From 86d4a3267b041ab64b458b5b566bcd24f692f572 Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 5 Aug 2024 12:40:04 +0000 Subject: [PATCH] fix suggestions centering --- src/web/assets/style.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/web/assets/style.css b/src/web/assets/style.css index 27af7ef..5576874 100644 --- a/src/web/assets/style.css +++ b/src/web/assets/style.css @@ -168,13 +168,12 @@ h1 { display: flex; gap: 0.5rem; } -.index-page .search-form { - justify-content: center; -} #search-input { - max-width: 30em; flex: 1; } +.main-container:not(.index-page) #search-input { + max-width: 30em; +} #search-input-suggestions { position: absolute; text-align: left;