From 0d2b57d68739800dc32d3fff44d9909ffb1d63ec Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Fri, 1 Aug 2025 21:25:24 -0600 Subject: [PATCH] fixed broken dropdowns --- .../ui/report/elements/ExportToolbarButton.tsx | 10 ++++++---- apps/web/src/components/ui/toolbar/Toolbar.tsx | 6 +++++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/apps/web/src/components/ui/report/elements/ExportToolbarButton.tsx b/apps/web/src/components/ui/report/elements/ExportToolbarButton.tsx index 7aad70446..8b6eb5d6f 100644 --- a/apps/web/src/components/ui/report/elements/ExportToolbarButton.tsx +++ b/apps/web/src/components/ui/report/elements/ExportToolbarButton.tsx @@ -145,11 +145,13 @@ export function ExportToolbarButton({ children, ...props }: DropdownMenuProps) { }; return ( - + - - {children} - +
+ + {children} + +
diff --git a/apps/web/src/components/ui/toolbar/Toolbar.tsx b/apps/web/src/components/ui/toolbar/Toolbar.tsx index 959ae7d8c..eb943cbdb 100644 --- a/apps/web/src/components/ui/toolbar/Toolbar.tsx +++ b/apps/web/src/components/ui/toolbar/Toolbar.tsx @@ -364,5 +364,9 @@ export const ToolbarButton = React.forwardRef< ); - return {ButtonComponent}; + return ( + + {ButtonComponent} + + ); });