fix: prevent horizontal scrollbar in table by adding overflowX hidden and making histogram responsive
This commit is contained in:
1 parent
8f58ceafab
commit
67f74dd7de
2 files changed
+3
-2
No files matched your search
@@ -147,7 +147,7 @@ export function DataTable<
|
|||||||
<TableContainer
|
<TableContainer
|
||||||
component={Paper}
|
component={Paper}
|
||||||
elevation={0}
|
elevation={0}
|
||||||
sx={{ boxShadow: "none" }}
|
sx={{ boxShadow: "none", overflowX: "hidden" }}
|
||||||
>
|
>
|
||||||
<Table
|
<Table
|
||||||
sx={{
|
sx={{
|
||||||
|
|||||||
@@ -45,7 +45,8 @@ export const HistogramPageSpeed = ({
|
|||||||
flexWrap="nowrap"
|
flexWrap="nowrap"
|
||||||
gap={theme.spacing(1.5)}
|
gap={theme.spacing(1.5)}
|
||||||
height="100px"
|
height="100px"
|
||||||
width="400px"
|
maxWidth="400px"
|
||||||
|
width="100%"
|
||||||
onClick={(event) => event.stopPropagation()}
|
onClick={(event) => event.stopPropagation()}
|
||||||
overflow={"hidden"}
|
overflow={"hidden"}
|
||||||
sx={{
|
sx={{
|
||||||
|
|||||||
Reference in new issue
Block a user