From 0bb0294220eff1e4012e8f7fa64e3c4d10e25185 Mon Sep 17 00:00:00 2001 From: John Geronimo Date: Mon, 16 Dec 2024 12:14:57 +1300 Subject: [PATCH] change tooltip placement to top --- .../src/ui/layout/tables/components/tooltipPlacement.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/packages/common/src/ui/layout/tables/components/tooltipPlacement.ts b/client/packages/common/src/ui/layout/tables/components/tooltipPlacement.ts index ac0e34acda..08304b834e 100644 --- a/client/packages/common/src/ui/layout/tables/components/tooltipPlacement.ts +++ b/client/packages/common/src/ui/layout/tables/components/tooltipPlacement.ts @@ -7,14 +7,14 @@ import { ColumnAlign } from '../columns'; */ export const tooltipPlacement = ( align: ColumnAlign -): 'bottom-end' | 'bottom-start' | 'bottom' => { +): 'top-end' | 'top-start' | 'top' => { switch (align) { case ColumnAlign.Left: - return 'bottom-start'; + return 'top-start'; case ColumnAlign.Right: - return 'bottom-end'; + return 'top-end'; case ColumnAlign.Center: - return 'bottom'; + return 'top'; default: return noOtherVariants(align); }