Commit ef219dd7 by Torkel Ödegaard Committed by GitHub

Merge pull request #14645 from grafana/fix-tooltip-placement

Fixed group button tooltip placement from auto to bottom
parents b05e7aae 41712c39
...@@ -52,7 +52,11 @@ export const ToggleButton: SFC<ToggleButtonProps> = ({ ...@@ -52,7 +52,11 @@ export const ToggleButton: SFC<ToggleButtonProps> = ({
); );
if (tooltip) { if (tooltip) {
return <Tooltip content={tooltip}>{button}</Tooltip>; return (
<Tooltip content={tooltip} placement="bottom">
{button}
</Tooltip>
);
} else { } else {
return button; return button;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment