fix tooltip multiline view

This commit is contained in:
Eduard Heimbuch
2020-06-18 10:35:55 +02:00
parent d9bc680df9
commit 8550211615
2 changed files with 7 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ class Tooltip extends React.Component<Props> {
render() {
const { className, message, location, children } = this.props;
const multiline = message.length > 60 ? "has-tooltip-multiline" : "";
const multiline = message.length > 60 ? "is-multiline" : "";
return (
<span className={classNames("tooltip", "has-tooltip-" + location, multiline, className)} data-tooltip={message}>
{children}