Space out tooltip a little bit to ensure it doesn't overlap cursor

Antonio Scandurra created

Change summary

styles/src/styleTree/tooltip.ts | 1 +
1 file changed, 1 insertion(+)

Detailed changes

styles/src/styleTree/tooltip.ts 🔗

@@ -6,6 +6,7 @@ export default function tooltip(theme: Theme) {
     background: backgroundColor(theme, 500),
     border: border(theme, "primary"),
     padding: 6,
+    margin: { top: 8, left: 8 },
     shadow: shadow(theme),
     cornerRadius: 6,
     ...text(theme, "sans", "primary", { size: "xs" })