fix zoom issue

This commit is contained in:
Shubham Takode 2024-03-04 17:03:20 +05:30
parent 7f88d69882
commit fad1ff29dd
2 changed files with 3 additions and 3 deletions

View File

@ -130,7 +130,7 @@ export const PipelineFlowComponent: FunctionComponent<IMyComponentProps> = (
onEdgeUpdateEnd={onEdgeUpdateEnd}
onEdgeUpdateStart={onEdgeUpdateStart}
defaultViewport={{ x: 0, y: 0, zoom: 1 }}
maxZoom={1.5}
maxZoom={1}
onConnect={onConnect}
onEdgeUpdate={onEdgeUpdate}
fitView

View File

@ -26,14 +26,14 @@ export default function PipelineStepComponent({ data, selected, ...others }) {
className={"al-icon sm-md al-ico-type-" + (data.experimentDetails?.type ? (data.experimentDetails.type.toString()).replace('_', '-') : 'training')}
data-id="stepResultButton"
></i>
<div className="title" style={{
<div className="title" title={data?.name} style={{
flex: 1,
maxWidth: "108px",
overflow: "hidden",
textOverflow: "ellipsis",
whiteSpace: "nowrap"
}
}>{data.name}</div>
}>{data?.name}</div>
</div>
<div className="step-part step-footer queued" style={{