mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
fix tooltip multiline view
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user