Skip to content

Commit

Permalink
fix(ui): various ui fixes (#5606)
Browse files Browse the repository at this point in the history
Signed-off-by: Iven Hsu <ivenvd@gmail.com>
  • Loading branch information
iven authored Apr 8, 2021
1 parent b4ce78b commit 9d175cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion ui/src/app/shared/components/graph/graph-panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
}

.graph {
overflow: scroll;
text-align: center;
max-height: calc(100vh - 2 * #{$top-bar-height});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
width: 100%;
transition: width 0.2s;
float: left;
overflow: auto;

.workflow-dag {
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@import 'node_modules/argo-ui/src/styles/config';

.workflow-drawer {
height: 100%;
font-size: 13px;
background-color: $argo-color-gray-1;
padding: 1.5em 15px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {Ticker} from 'argo-ui/src/index';
import * as React from 'react';
import {Link} from 'react-router-dom';
import {Workflow} from '../../../../models';
import {uiUrl} from '../../../shared/base';
import {DurationPanel} from '../../../shared/components/duration-panel';
Expand Down Expand Up @@ -46,10 +47,7 @@ export class WorkflowsRow extends React.Component<WorkflowsRowProps, WorkflowRow
/>
<PhaseIcon value={wf.status.phase} />
</div>
<a
href={uiUrl(`workflows/${wf.metadata.namespace}/${wf.metadata.name}`)}
className='small-11 row'
ref={el => el && el.style.setProperty('max-width', '91.6666666667%', 'important')}>
<Link to={uiUrl(`workflows/${wf.metadata.namespace}/${wf.metadata.name}`)} className='small-11 row'>
<div className='columns small-2'>{wf.metadata.name}</div>
<div className='columns small-2'>{wf.metadata.namespace}</div>
<div className='columns small-1'>
Expand Down Expand Up @@ -94,7 +92,7 @@ export class WorkflowsRow extends React.Component<WorkflowsRowProps, WorkflowRow
}}
/>
)}
</a>
</Link>
</div>
</div>
);
Expand Down

0 comments on commit 9d175cf

Please sign in to comment.