Skip to content

Commit

Permalink
Merge pull request #58 from linkernetworks/phstsai/delete-pod
Browse files Browse the repository at this point in the history
[Bug] Delete pod button
  • Loading branch information
Yun Chen authored Oct 4, 2018
2 parents 4a3db11 + 0d96ccc commit 34514d4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/Application/Pod/Detail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ class PodDetail extends React.PureComponent<PodDetailProps, PodDetailState> {
{this.renderInterface()}
</React.Fragment>
)}
<div className={styles.cardBottom}>{this.renderAction(pod!)}</div>
</Card>
<Drawer
title={<FormattedMessage id="container" />}
Expand Down
11 changes: 11 additions & 0 deletions src/routes/Application/Pod/Detail/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ $tag-gutter: 8px;
fill: $text-color-secondary;
}
}

.cardBottom{
position: absolute;
width: 100%;
border-top: 1px solid #e8e8e8;
padding: 10px 16px;
text-align: right;
left: 0;
background: #fff;
border-radius: 0 0 4px 4px;
}

0 comments on commit 34514d4

Please sign in to comment.