From 1624ea8a6bf63a167d80e4295e619d1ec93f2924 Mon Sep 17 00:00:00 2001 From: Nick Taylor Date: Fri, 26 Apr 2024 06:32:58 -0400 Subject: [PATCH] fix: now StarSearch input is not covered by vertical suggestions on small screens (#3265) --- pages/star-search/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pages/star-search/index.tsx b/pages/star-search/index.tsx index d723c12e5a..24dfe79827 100644 --- a/pages/star-search/index.tsx +++ b/pages/star-search/index.tsx @@ -18,6 +18,8 @@ import { useMediaQuery } from "lib/hooks/useMediaQuery"; import SEO from "layouts/SEO/SEO"; const HEIGHT_TO_TAKE_OFF_SCROLL_AREA = 340; +const HEIGHT_TO_TAKE_OFF_SUGGESTIONS = 600; + const SUGGESTIONS = [ { title: "Get information on contributor activity", @@ -173,7 +175,10 @@ export default function StarSearchPage({ userId, bearerToken, ogImageUrl }: Star switch (starSearchState) { case "initial": return ( -
+