We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d35d92 commit 1dff4daCopy full SHA for 1dff4da
src/components/tooltip/hooks/useTooltip.ts
@@ -148,9 +148,9 @@ export const useTooltip = <V>({
148
top: arrowY !== null ? `${arrowY}px` : '',
149
right: '',
150
bottom: '',
151
- [staticSide as string]: `calc(${
152
- styles.tooltipExternalContainer?.[DeviceBreakpointsType.DESKTOP]?.padding ?? 0
153
- } - ${styles.arrowContainer?.arrow_position ?? '0px'} / 2)`,
+ [staticSide as string]: `calc(${styles.tooltipExternalContainer?.[DeviceBreakpointsType.DESKTOP]?.padding ?? 0} - ${
+ styles.arrowContainer?.arrow_position ?? '0px'
+ } / 2)`,
154
};
155
156
if (arrowElement && (arrowElement as HTMLElement).style) {
0 commit comments