From 8a30467b0b5c1ccabcfbcfc2fd0b23a4ef500146 Mon Sep 17 00:00:00 2001 From: billionaireDY Date: Mon, 15 Jul 2024 19:55:15 +0900 Subject: [PATCH] [#noissue] fix: GlobalSearch, Inspector styles --- .../ui/src/components/GlobalSearch/GlobalSearch.tsx | 7 ++++++- .../ui/src/components/Inspector/charts/InspectorChart.tsx | 2 +- .../src/main/v3/packages/ui/src/components/ui/command.tsx | 8 +++++--- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/web-frontend/src/main/v3/packages/ui/src/components/GlobalSearch/GlobalSearch.tsx b/web-frontend/src/main/v3/packages/ui/src/components/GlobalSearch/GlobalSearch.tsx index 3d0bb56236b3d..c9039dc168515 100644 --- a/web-frontend/src/main/v3/packages/ui/src/components/GlobalSearch/GlobalSearch.tsx +++ b/web-frontend/src/main/v3/packages/ui/src/components/GlobalSearch/GlobalSearch.tsx @@ -63,8 +63,13 @@ export const GlobalSearch = ({ services }: GlobalSearchProps) => { return ( portalTargetElement && createPortal( - + { if (search) { diff --git a/web-frontend/src/main/v3/packages/ui/src/components/Inspector/charts/InspectorChart.tsx b/web-frontend/src/main/v3/packages/ui/src/components/Inspector/charts/InspectorChart.tsx index a1c0252bbba84..453bb165dd73e 100644 --- a/web-frontend/src/main/v3/packages/ui/src/components/Inspector/charts/InspectorChart.tsx +++ b/web-frontend/src/main/v3/packages/ui/src/components/Inspector/charts/InspectorChart.tsx @@ -9,7 +9,7 @@ export interface InspectorChartProps extends ChartCoreProps { export const InspectorChart = ({ data, children, ...props }: InspectorChartProps) => { return ( - + {data?.title} diff --git a/web-frontend/src/main/v3/packages/ui/src/components/ui/command.tsx b/web-frontend/src/main/v3/packages/ui/src/components/ui/command.tsx index 8288c1549401c..6e860ed29b53c 100644 --- a/web-frontend/src/main/v3/packages/ui/src/components/ui/command.tsx +++ b/web-frontend/src/main/v3/packages/ui/src/components/ui/command.tsx @@ -21,12 +21,14 @@ const Command = React.forwardRef< )); Command.displayName = CommandPrimitive.displayName; -interface CommandDialogProps extends DialogProps {} +interface CommandDialogProps extends DialogProps { + dialogClassName?: string; +} -const CommandDialog = ({ children, ...props }: CommandDialogProps) => { +const CommandDialog = ({ children, dialogClassName, ...props }: CommandDialogProps) => { return ( - + {children}