Skip to content

Commit

Permalink
minor UI changes as requested by sponsor
Browse files Browse the repository at this point in the history
  • Loading branch information
BrittExe committed Nov 4, 2024
1 parent 75393af commit 2130c80
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ const RenderSpeciesReactionTable: React.FC<Props> = ({ selectedFamily, selectedT
{currentTab === 0 &&
<div style={{ flexGrow: 1 }}>
<DataGrid
initialState={{ density: 'compact', }}
rows={combineSpeciesAndProperties(species, speciesProperties)}
columns={createSpeciesColumns()}
getRowId={(row: Species) => row.uuid}
Expand Down Expand Up @@ -273,6 +274,7 @@ const RenderSpeciesReactionTable: React.FC<Props> = ({ selectedFamily, selectedT
{currentTab === 1 &&
<div style={{ flexGrow: 1 }}>
<DataGrid
initialState={{ density: 'compact', }}
rows={reactions}
columns={reactionColumns}
getRowId={(row: Reaction) => row.uuid}
Expand Down
1 change: 0 additions & 1 deletion frontend/src/webPages/Family/family.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
grid-template-rows: auto 1fr auto; /* auto for headers, 1fr for middle */
grid-template-columns: 1fr 2fr; /* 1/3 and 2/3 for the middle sections */
/* gap: 8px; */
background-color: #C3D7EE;
}


Expand Down
1 change: 0 additions & 1 deletion frontend/src/webPages/Family/familyStyling.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const StyledDetailBox = styled.section`
display: block;
width: 98%;
height: 80vh;
background-color: #C3D7EE;
border-style: solid;
border-width: 1px;
border-radius: 10px;
Expand Down
3 changes: 0 additions & 3 deletions frontend/src/webPages/Roles/roles.css
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
.mainContent {
background-color: #C3D7EE;
}

0 comments on commit 2130c80

Please sign in to comment.