mirror of
https://github.com/clearml/clearml-web
synced 2025-03-13 07:08:17 +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}
|
||||
onEdgeUpdateStart={onEdgeUpdateStart}
|
||||
defaultViewport={{ x: 0, y: 0, zoom: 1 }}
|
||||
maxZoom={1.5}
|
||||
maxZoom={1}
|
||||
onConnect={onConnect}
|
||||
onEdgeUpdate={onEdgeUpdate}
|
||||
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')}
|
||||
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={{
|
||||
|
Loading…
Reference in New Issue
Block a user