From 44ca2a2140105ca97ddbe08139a7e470398e99bd Mon Sep 17 00:00:00 2001 From: bcotrim Date: Fri, 20 Dec 2024 20:40:03 +0000 Subject: [PATCH] change placement of topbar elements tooltip to bottom-start (#757) --- src/components/top-bar.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/top-bar.tsx b/src/components/top-bar.tsx index 36cd4f454..4bcb4b58a 100644 --- a/src/components/top-bar.tsx +++ b/src/components/top-bar.tsx @@ -14,10 +14,16 @@ interface TopBarProps { onToggleSidebar: () => void; } +const DEFAULT_TOOLTIP_PLACEMENT = 'bottom-start'; + function ToggleSidebar( { onToggleSidebar }: TopBarProps ) { return (
- + @@ -44,6 +50,7 @@ function OfflineIndicator() { } className="h-6" + placement={ DEFAULT_TOOLTIP_PLACEMENT } >