feat: custom tooltip instead of browser tooltip
fix: remove default browser tooltip fix: rename HelpTooltip into Tooltip feat: allow custom tooltip element fix: open cashout fudgefactor help tooltip on click feat: edit and delete (editabletable) custom tooltip feat: custom tooltip on single field editables feat: SingleRowTable custom tooltip feat: custom tooltip on modal close button fix: operatorinfo custom tooltip feat: confirmdialog custom close tooltip fix: remove browser default tooltip from action buttons fix: eslint
This commit is contained in:
parent
f700b29b3d
commit
653f939856
18 changed files with 250 additions and 145 deletions
|
|
@ -7,6 +7,9 @@ import baseButtonStyles from './BaseButton.styles'
|
|||
const { baseButton, primary } = baseButtonStyles
|
||||
|
||||
const styles = {
|
||||
preventDefaultTooltip: {
|
||||
pointerEvents: 'none'
|
||||
},
|
||||
featureButton: {
|
||||
extend: baseButton,
|
||||
width: baseButton.height,
|
||||
|
|
@ -44,7 +47,7 @@ const FeatureButton = memo(
|
|||
<button className={classnames(classNames, className)} {...props}>
|
||||
{Icon && (
|
||||
<div className={classes.buttonIcon}>
|
||||
<Icon />
|
||||
<Icon className={classes.preventDefaultTooltip} />
|
||||
</div>
|
||||
)}
|
||||
{InverseIcon && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue