mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-04 20:45:52 +01:00
Correct tooltip classNames for bulma-tooltip version 3.0.0
This commit is contained in:
@@ -15,9 +15,9 @@ class Tooltip extends React.Component<Props> {
|
||||
|
||||
render() {
|
||||
const { className, message, location, children } = this.props;
|
||||
const multiline = message.length > 60 ? "is-tooltip-multiline" : "";
|
||||
const multiline = message.length > 60 ? "has-tooltip-multiline" : "";
|
||||
return (
|
||||
<span className={classNames("tooltip", "is-tooltip-" + location, multiline, className)} data-tooltip={message}>
|
||||
<span className={classNames("tooltip", "has-tooltip-" + location, multiline, className)} data-tooltip={message}>
|
||||
{children}
|
||||
</span>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user