project screen style update
This commit is contained in:
parent
271eea9538
commit
dddb7c7257
@ -3,6 +3,11 @@
|
||||
color:white !important;
|
||||
}
|
||||
|
||||
.projectScreen-background .css-1ex1afd-MuiTableCell-root{
|
||||
background-color: #171716 !important;
|
||||
color:white !important;
|
||||
}
|
||||
|
||||
.app-screen-heights{
|
||||
min-height: 650px;
|
||||
}
|
||||
@ -20,7 +20,7 @@ function App() {
|
||||
<Header/>
|
||||
{/* <Home/> */}
|
||||
<Routes>
|
||||
<Route path='/home' element={<Dashboard/>} />
|
||||
<Route path='/' element={<Dashboard/>} />
|
||||
<Route path='/projects' element={<Projects/>} />
|
||||
{/* <Route path='/' element={<Counter/>} /> */}
|
||||
</Routes>
|
||||
|
||||
@ -96,7 +96,7 @@ function Header() {
|
||||
))} */}
|
||||
<MenuItem key='home' onClick={handleCloseNavMenu}>
|
||||
<Typography textAlign="center" component={Link}
|
||||
to='/home'>HOME</Typography>
|
||||
to='/'>HOME</Typography>
|
||||
</MenuItem>
|
||||
<MenuItem key='home' onClick={handleCloseNavMenu}>
|
||||
<Typography textAlign="center" component={Link}
|
||||
@ -139,7 +139,7 @@ function Header() {
|
||||
onClick={handleCloseNavMenu}
|
||||
sx={{ my: 2, color: 'white', display: 'block' }}
|
||||
component={Link}
|
||||
to='/home'
|
||||
to='/'
|
||||
>
|
||||
HOME
|
||||
</Button>
|
||||
|
||||
@ -75,15 +75,16 @@ export default function ProjectList({projectData}) {
|
||||
|
||||
|
||||
return (
|
||||
<Paper sx={{ width: '100%', overflow: 'hidden' }}>
|
||||
<TableContainer sx={{ maxHeight: 440}}>
|
||||
<Paper square className='projectScreen-background' sx={{ width: '100%', overflow: 'hidden' }}>
|
||||
<TableContainer sx={{ maxHeight: '600px'}}>
|
||||
<Table stickyHeader aria-label="sticky table">
|
||||
<TableHead>
|
||||
<TableRow>
|
||||
<TableHead >
|
||||
<TableRow >
|
||||
{columns.map((column) => (
|
||||
<TableCell
|
||||
sx={{bgcolor:'#171716',color:'white'}}
|
||||
key={column.id}
|
||||
// align={column.align}
|
||||
// align={column.align}
|
||||
style={{ minWidth: column.minWidth }}
|
||||
>
|
||||
{column.label}
|
||||
@ -116,6 +117,7 @@ export default function ProjectList({projectData}) {
|
||||
</Table>
|
||||
</TableContainer>
|
||||
<TablePagination
|
||||
sx={{bgcolor:'#171716',color:'white'}}
|
||||
rowsPerPageOptions={[10, 25, 100]}
|
||||
component="div"
|
||||
count={projectData && projectData.length}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user