Merge pull request #883 from cywio/tooltip-margin

Fix margin on tooltip
This commit is contained in:
Mike Cao 2021-12-17 18:03:12 -08:00 committed by GitHub
commit 52aefd0fec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,7 @@ function Button({
data-tip={tooltip} data-tip={tooltip}
data-effect="solid" data-effect="solid"
data-for={tooltipId} data-for={tooltipId}
data-offset={JSON.stringify({ left: 10 })}
type={type} type={type}
className={classNames(styles.button, className, { className={classNames(styles.button, className, {
[styles.large]: size === 'large', [styles.large]: size === 'large',