Skip to content

Commit

Permalink
Add header background
Browse files Browse the repository at this point in the history
  • Loading branch information
dgboss committed Jul 22, 2024
1 parent c06a910 commit ad8aa5d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web/src/features/fba/components/viz/FuelSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ interface FuelSummaryProps {
const columns: GridColDef[] = [
{
field: 'code',
headerClassName: 'fuel-summary-header',
headerName: 'Fuel Type',
sortable: false,
width: 75,
Expand All @@ -39,6 +40,7 @@ const columns: GridColDef[] = [
{
field: 'area',
flex: 3,
headerClassName: 'fuel-summary-header',
headerName: 'Distribution > 4k kW/m',
minWidth: 200,
sortable: false,
Expand Down Expand Up @@ -119,6 +121,9 @@ const FuelSummary = ({ fuelTypeInfo, selectedFireZoneUnit }: FuelSummaryProps) =
overflow: 'hidden',
'& .MuiDataGrid-columnHeaderTitle': {
fontWeight: 'bold'
},
'& .fuel-summary-header': {
background: '#F1F1F1'
}
}}
></DataGridPro>
Expand Down

0 comments on commit ad8aa5d

Please sign in to comment.