From b63d965b4628c50d9d3f0a5b6d6bb493f3cb71d0 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Wed, 1 Jun 2022 10:08:25 +0200 Subject: [PATCH] Space out tooltip a little bit to ensure it doesn't overlap cursor --- styles/src/styleTree/tooltip.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/styles/src/styleTree/tooltip.ts b/styles/src/styleTree/tooltip.ts index a6bd85053bd3d1beef4787671a99714f39b7ac0f..3fc7bd012b4b0725e55d2cb18f0e0b10dab62a3b 100644 --- a/styles/src/styleTree/tooltip.ts +++ b/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" })