mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-03 03:33:16 +03:00
Set correct tooltip font-size
This commit is contained in:
parent
91cd79687e
commit
85ce4a7b40
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user