Skip to content

Commit

Permalink
fix: Center Grid within Modal window; bump max width back up
Browse files Browse the repository at this point in the history
  • Loading branch information
hcat-pge committed May 1, 2020
1 parent a7cb383 commit ee522ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion front-end/src/components/CustomNode/GraphView.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default class GraphView extends React.Component {
height={displayHeight < 600 ? displayHeight + 5 : 600}
rowCount={this.state.rows.length}
rowHeight={index => 20}
width={displayWidth < 800 ? displayWidth : 800}
width={displayWidth < 900 ? displayWidth : 900}
>
{this.Cell}
</Grid>
Expand Down
3 changes: 2 additions & 1 deletion front-end/src/styles/GraphView.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.Grid {
border: 1px solid #d9dddd;
width: auto;
margin: auto;
}

.GridItemEven, .GridItemOdd {
Expand All @@ -16,5 +17,5 @@
}

.GraphView {
max-width: 825px;
max-width: 925px;
}

0 comments on commit ee522ab

Please sign in to comment.