From d11cb5c4ea00330b446a2eb5360fb2f9a0dcbcff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Obermu=CC=88ller?= Date: Thu, 16 Nov 2023 11:51:27 +0100 Subject: [PATCH] implement styling suggestions --- frontend/src/lib/components/CommandBar/CommandBar.tsx | 2 +- frontend/src/lib/components/CommandBar/SearchBarTab.tsx | 5 ++++- frontend/src/lib/components/CommandBar/SearchTabs.tsx | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/src/lib/components/CommandBar/CommandBar.tsx b/frontend/src/lib/components/CommandBar/CommandBar.tsx index 126abf698d2de..3850051e60551 100644 --- a/frontend/src/lib/components/CommandBar/CommandBar.tsx +++ b/frontend/src/lib/components/CommandBar/CommandBar.tsx @@ -12,7 +12,7 @@ import { ActionBar } from './ActionBar' const CommandBarOverlay = ({ children }: { children?: React.ReactNode }): JSX.Element => (
{ const { setActiveTab } = useActions(searchBarLogic) return ( -
setActiveTab(type)}> +
setActiveTab(type)} + > {resultTypeToName[type]} {count != null && {count}}
diff --git a/frontend/src/lib/components/CommandBar/SearchTabs.tsx b/frontend/src/lib/components/CommandBar/SearchTabs.tsx index cd3d9fef739be..bc83ed1110a76 100644 --- a/frontend/src/lib/components/CommandBar/SearchTabs.tsx +++ b/frontend/src/lib/components/CommandBar/SearchTabs.tsx @@ -12,7 +12,7 @@ export const SearchTabs = (): JSX.Element | null => { } return ( -
+
{Object.entries(searchResponse.counts).map(([type, count]) => (