fix: latest incidents panel overflow text on smaller devices
This commit is contained in:
1 parent
7bef6dc0e6
commit
66efa25e2b
1 file changed
+12
-2
@@ -30,12 +30,22 @@ const IncidentItem = ({ incident }) => {
|
|||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
display: "grid",
|
display: {
|
||||||
gridTemplateColumns: "1fr 100px 80px",
|
xs: "flex",
|
||||||
|
lg: "grid",
|
||||||
|
},
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
|
flexWrap: {
|
||||||
|
xs: "wrap",
|
||||||
|
lg: "nowrap",
|
||||||
|
},
|
||||||
gap: theme.spacing(2),
|
gap: theme.spacing(2),
|
||||||
width: "100%",
|
width: "100%",
|
||||||
py: theme.spacing(0.5),
|
py: theme.spacing(0.5),
|
||||||
|
|
||||||
|
gridTemplateColumns: {
|
||||||
|
lg: "1fr 100px 80px",
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Stack
|
<Stack
|
||||||
|
|||||||
Reference in new issue
Block a user