Skip to content

Commit

Permalink
increased size of table container height; added margin to the add inf…
Browse files Browse the repository at this point in the history
…rastructure row button
  • Loading branch information
MichaelPesce committed Aug 2, 2023
1 parent fd5fc7d commit 5bd414f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion electron/ui/src/components/DataTable/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ const renderOutputTable = () => {
setNewInfrastructureOverrideRow={props.setNewInfrastructureOverrideRow}
/>
:
<TableContainer sx={{overflowX:'auto', maxHeight: "59vh"}}>
<TableContainer sx={{overflowX:'auto', maxHeight: "73vh"}}>
<Table style={{border:"1px solid #ddd"}} size='small' stickyHeader>
<TableHead style={{backgroundColor:"#6094bc", color:"white"}}>
<TableRow key={`headrow`}>
Expand Down
4 changes: 2 additions & 2 deletions electron/ui/src/components/OverrideTable/OverrideTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ const renderOutputTable = () => {
try {
if (show) {
return (
<TableContainer sx={{overflowX:'auto', maxHeight: '59vh'}}>
<TableContainer sx={{overflowX:'auto', maxHeight: '73vh'}}>
<Table style={{border:"1px solid #ddd"}} size='small' stickyHeader>
<TableHead style={{backgroundColor:"#6094bc", color:"white"}}>
<TableRow>
Expand Down Expand Up @@ -309,7 +309,7 @@ const renderOutputTable = () => {

</Table>
{category === "vb_y_overview_dict" &&
<Button style={{marginTop: "15px", color: "#0884b4", backgroundColor: "white"}} variant="contained" onClick={() => setNewInfrastructureOverrideRow(true)}>
<Button style={{marginTop: "15px", color: "#0884b4", backgroundColor: "white", marginBottom: '15px'}} variant="contained" onClick={() => setNewInfrastructureOverrideRow(true)}>
+ Add infrastructure override
</Button>
}
Expand Down

0 comments on commit 5bd414f

Please sign in to comment.