From 6ace3dbdd600954acaa9b7a6a8b7ace67d96eb10 Mon Sep 17 00:00:00 2001 From: Marcel Gerber Date: Tue, 9 Apr 2024 17:37:58 +0200 Subject: [PATCH] enhance(search): show 2 explorer results --- site/search/Search.scss | 4 ++-- site/search/SearchPanel.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/site/search/Search.scss b/site/search/Search.scss index b1685b7554e..6d68718a7ed 100644 --- a/site/search/Search.scss +++ b/site/search/Search.scss @@ -416,10 +416,10 @@ width: 100%; } - // On the "All" tab, limit to the first 4 pages, 4 charts, and 1 explorer view + // On the "All" tab, limit to the first 4 pages, 4 charts, and 2 explorer views .search-results__page-hit:nth-child(n + 5), .search-results__chart-hit:nth-child(n + 5), - .search-results__explorer-hit:nth-child(n + 2) { + .search-results__explorer-hit:nth-child(n + 3) { display: none; } } diff --git a/site/search/SearchPanel.tsx b/site/search/SearchPanel.tsx index 0a7b22e52d8..8a20027a8d8 100644 --- a/site/search/SearchPanel.tsx +++ b/site/search/SearchPanel.tsx @@ -531,7 +531,7 @@ const SearchResults = (props: SearchResultsProps) => {