mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed group button tooltip placement from auto to bottom, fixes #14634
This commit is contained in:
parent
8b4083a602
commit
41712c3957
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user