mirror of
https://github.com/clearml/clearml-web
synced 2025-03-13 15:20:35 +00:00
fix zoom issue
This commit is contained in:
parent
7f88d69882
commit
fad1ff29dd
@ -130,7 +130,7 @@ export const PipelineFlowComponent: FunctionComponent<IMyComponentProps> = (
|
|||||||
onEdgeUpdateEnd={onEdgeUpdateEnd}
|
onEdgeUpdateEnd={onEdgeUpdateEnd}
|
||||||
onEdgeUpdateStart={onEdgeUpdateStart}
|
onEdgeUpdateStart={onEdgeUpdateStart}
|
||||||
defaultViewport={{ x: 0, y: 0, zoom: 1 }}
|
defaultViewport={{ x: 0, y: 0, zoom: 1 }}
|
||||||
maxZoom={1.5}
|
maxZoom={1}
|
||||||
onConnect={onConnect}
|
onConnect={onConnect}
|
||||||
onEdgeUpdate={onEdgeUpdate}
|
onEdgeUpdate={onEdgeUpdate}
|
||||||
fitView
|
fitView
|
||||||
|
@ -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')}
|
className={"al-icon sm-md al-ico-type-" + (data.experimentDetails?.type ? (data.experimentDetails.type.toString()).replace('_', '-') : 'training')}
|
||||||
data-id="stepResultButton"
|
data-id="stepResultButton"
|
||||||
></i>
|
></i>
|
||||||
<div className="title" style={{
|
<div className="title" title={data?.name} style={{
|
||||||
flex: 1,
|
flex: 1,
|
||||||
maxWidth: "108px",
|
maxWidth: "108px",
|
||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
textOverflow: "ellipsis",
|
textOverflow: "ellipsis",
|
||||||
whiteSpace: "nowrap"
|
whiteSpace: "nowrap"
|
||||||
}
|
}
|
||||||
}>{data.name}</div>
|
}>{data?.name}</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div className="step-part step-footer queued" style={{
|
<div className="step-part step-footer queued" style={{
|
||||||
|
Loading…
Reference in New Issue
Block a user