From a91fe16f2b9705f191b0e3ef3a4f3aec1d44b89e Mon Sep 17 00:00:00 2001 From: MoritzWeber0 Date: Tue, 29 Apr 2025 20:26:04 +0200 Subject: [PATCH] fix: Search overflows on large screens The search overflowed the picture on larger screens. This should fix it. --- assets/sass/stage.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/sass/stage.scss b/assets/sass/stage.scss index f90443b6..a047df6a 100644 --- a/assets/sass/stage.scss +++ b/assets/sass/stage.scss @@ -17,6 +17,7 @@ #search { position: absolute; width: 80%; + max-width: 1056px; // 1320*0.8 height: 6rem; left: 50%; transform: translate(-50%); @@ -25,6 +26,7 @@ @include media-breakpoint-up(md) { width: 60%; + max-width: 792px; // 1320*0.6 } .pagefind-ui__search-input,