Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Fix margin on tooltip

Chris Walshb31b6e6d888a
diff --git a/components/common/Button.js b/components/common/Button.js
index 0cdb5fbc2..d3b7d2adc 100644
--- a/components/common/Button.js
+++ b/components/common/Button.js
@@ -24,6 +24,7 @@ function Button({
data-tip={tooltip}
data-effect="solid"
data-for={tooltipId}
+ data-offset={JSON.stringify({ left: 10 })}
type={type}
className={classNames(styles.button, className, {
[styles.large]: size === 'large',