Disclamer
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-03-19 20:01:58 +03:00
parent 4f54d08666
commit 131a0b23f5
3 changed files with 34 additions and 6 deletions

View File

@@ -1,17 +1,19 @@
import { createTheme, ThemeProvider } from '@mui/material/styles'
import { CssBaseline } from '@mui/material'
import 'reset-css'
import '../styles/global.scss'
import Layout from '../components/layout'
function App ({ Component, pageProps }) {
const lightTheme = createTheme({
const theme = createTheme({
palette: {
mode: 'light'
}
})
return (
<ThemeProvider theme={lightTheme}>
<ThemeProvider theme={theme}>
<CssBaseline />
<Layout>
<Component {...pageProps} />
</Layout>

View File

@@ -67,7 +67,12 @@ export default class Table extends Component {
render () {
return (
<div style={{ height: '90vh', width: '100%' }}>
<Box
sx={{
height: '90vh',
width: '100%'
}}
>
<DataGrid
rows={this.scanResults}
columns={this.columns}
@@ -77,8 +82,12 @@ export default class Table extends Component {
sortModel: [{ field: 'difference', sort: 'desc' }]
}
}}
sx={{
borderLeft: 'none',
borderRight: 'none'
}}
/>
</div>
</Box>
)
}
}