From 85502116158b0cefc5a09040d183e361e3e9f711 Mon Sep 17 00:00:00 2001 From: Eduard Heimbuch Date: Thu, 18 Jun 2020 10:35:55 +0200 Subject: [PATCH] fix tooltip multiline view --- scm-ui/ui-components/src/Tooltip.tsx | 2 +- .../src/__snapshots__/storyshots.test.ts.snap | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scm-ui/ui-components/src/Tooltip.tsx b/scm-ui/ui-components/src/Tooltip.tsx index 79f5c9f855..b358c6382f 100644 --- a/scm-ui/ui-components/src/Tooltip.tsx +++ b/scm-ui/ui-components/src/Tooltip.tsx @@ -38,7 +38,7 @@ class Tooltip extends React.Component { render() { const { className, message, location, children } = this.props; - const multiline = message.length > 60 ? "has-tooltip-multiline" : ""; + const multiline = message.length > 60 ? "is-multiline" : ""; return ( {children} diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap index 4ab1158583..79430a7441 100644 --- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap +++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap @@ -17281,7 +17281,7 @@ exports[`Storyshots Diff File Controls 1`] = ` className="control" >