From 92fa12d780119a42d1524727ffeeeb1320819a7a Mon Sep 17 00:00:00 2001 From: Shipow Date: Wed, 8 Apr 2020 23:49:32 +0200 Subject: [PATCH] fix(design): hovers + tree icons --- src/ResultsScreen.tsx | 6 ++-- src/icons/SourceIcon.tsx | 8 +++--- src/style.css | 60 ++++++++++++++++++++++++++++++++++------ 3 files changed, 58 insertions(+), 16 deletions(-) diff --git a/src/ResultsScreen.tsx b/src/ResultsScreen.tsx index 51af931b..576f7301 100644 --- a/src/ResultsScreen.tsx +++ b/src/ResultsScreen.tsx @@ -38,7 +38,7 @@ export function ResultsScreen(props: ResultsScreenProps) { renderIcon={({ item, index }) => ( <> {item.__docsearch_parent && ( - + {item.__docsearch_parent !== suggestion.items[index + 1]?.__docsearch_parent ? ( - + ) : ( - + )} diff --git a/src/icons/SourceIcon.tsx b/src/icons/SourceIcon.tsx index 7f731d54..d9a0c83f 100644 --- a/src/icons/SourceIcon.tsx +++ b/src/icons/SourceIcon.tsx @@ -13,9 +13,9 @@ export function SourceIcon(props: { type: string }) { function LvlIcon() { return ( - + + +