Skip to content

Commit

Permalink
Spacing changes + pan changes for workflows + mlhub + codemirror
Browse files Browse the repository at this point in the history
  • Loading branch information
NotChristianGarcia committed Oct 4, 2024
1 parent 1146381 commit fd96d53
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ const PodsCodeMirror: React.FC<PodsCodeMirrorProps> = ({
// flexDirection="column"
// height="40rem"
flexWrap={'nowrap'}
height="46rem"
height="18rem"
rowSpacing={0.4}
// height="44rem" (this causes side by side)
overflow="scroll"
sx={{
display: 'flex',
Expand Down
1 change: 1 addition & 0 deletions src/app/MlHub/Models/ModelDetails.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.model-details {
padding-left: 1em;
padding-right: 1em;
width: 100%;
}

.buttons-container {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.dag {
width: 100%;
min-height: 600px;
min-height: calc(100vh - 200px);
border-top: 1px solid #cccccc;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ const ELKLayoutFlow: React.FC<DagViewProps> = ({ groupId, pipeline }) => {
onNodesChange={onNodesChange}
onEdgesChange={onEdgesChange}
defaultViewport={{ x: 120, y: 60, zoom: 1 }}
panOnScroll={true}
panOnScrollSpeed={1}
>
<DagViewDrawer
groupId={groupId}
Expand Down

0 comments on commit fd96d53

Please sign in to comment.