From 85ce4a7b40557520d6975399b0e549e259491e98 Mon Sep 17 00:00:00 2001 From: Mattias Granlund Date: Fri, 26 Jan 2024 11:22:11 +0100 Subject: [PATCH] Set correct tooltip font-size --- gitbutler-ui/src/lib/utils/tooltip.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitbutler-ui/src/lib/utils/tooltip.ts b/gitbutler-ui/src/lib/utils/tooltip.ts index ff6fa092a..c18a65ca0 100644 --- a/gitbutler-ui/src/lib/utils/tooltip.ts +++ b/gitbutler-ui/src/lib/utils/tooltip.ts @@ -45,7 +45,7 @@ export function tooltip(node: HTMLElement, optsOrString: ToolTipOptions | string function show() { tooltip = document.createElement('div') as HTMLDivElement; // TODO: Can we co-locate tooltip.js & tooltip.postcss? - tooltip.classList.add('tooltip'); // see tooltip.postcss + tooltip.classList.add('tooltip', 'text-base-11'); // see tooltip.postcss tooltip.innerText = text; document.body.appendChild(tooltip); adjustPosition();