Skip to content

Commit 0736d00

Browse files
committed
fix:resolved bug of stackname and org Id getting truncated in execution screen [CMG-604]
1 parent 051c972 commit 0736d00

File tree

2 files changed

+22
-10
lines changed

2 files changed

+22
-10
lines changed

ui/src/components/MigrationExecution/index.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,8 @@ div .step-component .action-component-body {
6969
border: 1px solid #dde3ee;
7070
border-radius: var(--TermCount, 5px);
7171
}
72+
.textInput-ellipse {
73+
text-overflow: ellipsis;
74+
overflow: hidden;
75+
white-space: nowrap;
76+
}

ui/src/components/MigrationExecution/index.tsx

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useEffect, useState } from 'react';
2-
import { Icon, Field, TextInput, FieldLabel, CircularLoader } from '@contentstack/venus-components';
2+
import { Icon, Field, TextInput, FieldLabel, CircularLoader, Tooltip } from '@contentstack/venus-components';
33
import { useSelector, useDispatch } from 'react-redux';
44

55
// Services
@@ -96,15 +96,22 @@ const MigrationExecution = ({ handleStepChange }: migrationWxecutionProps) => {
9696
<FieldLabel className="selectedOptions" htmlFor="label">
9797
{item?.title}
9898
</FieldLabel>
99-
<TextInput
100-
type="text"
101-
isReadOnly
102-
name="stackKey"
103-
value={getPlaceHolder(item?.title)}
104-
version="v2"
105-
disabled
106-
// width="regular"
107-
/>
99+
<Tooltip
100+
position='top'
101+
content={getPlaceHolder(item?.title)}>
102+
<TextInput
103+
inputClassName='textInput-ellipse'
104+
type="text"
105+
isReadOnly
106+
name="stackKey"
107+
value={getPlaceHolder(item?.title)}
108+
version="v2"
109+
disabled
110+
// width="regular"
111+
/>
112+
113+
</Tooltip>
114+
108115
</Field>
109116
{index < MigrationInformation?.length - 1 && (
110117
<Icon className="arrow-wrapper" icon="ArrowRight" size="large" />

0 commit comments

Comments
 (0)