Skip to content

Commit 7f7bc82

Browse files
authored
fix(aggregations): stage description tooltip overflow COMPASS-9463 (#7028)
1 parent 1b931f5 commit 7f7bc82

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

packages/compass-aggregations/src/components/stage-preview/stage-preview-header.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
import React from 'react';
22
import { connect } from 'react-redux';
3-
import { Body, Link, Tooltip, css } from '@mongodb-js/compass-components';
3+
import { Body, Link, Tooltip } from '@mongodb-js/compass-components';
44
import type { RootState } from '../../modules';
55
import { getStageInfo } from '../../utils/stage';
66
import type { StoreStage } from '../../modules/pipeline-builder/stage-editor';
77

8-
const toolbarTextStyles = css({
9-
whiteSpace: 'nowrap',
10-
overflow: 'hidden',
11-
textOverflow: 'ellipsis',
12-
});
13-
148
const OperatorLink: React.FunctionComponent<{
159
stageOperator: string;
1610
description?: string;
@@ -56,7 +50,7 @@ function StagePreviewHeader({
5650
return null;
5751
}
5852
return (
59-
<Body className={toolbarTextStyles}>
53+
<Body>
6054
{destination ? (
6155
`Documents will be saved to ${destination}.`
6256
) : (

0 commit comments

Comments
 (0)