diff --git a/packages/sections/src/evidence/OTValidation/Body.jsx b/packages/sections/src/evidence/OTValidation/Body.jsx index a59333341..18bf92592 100644 --- a/packages/sections/src/evidence/OTValidation/Body.jsx +++ b/packages/sections/src/evidence/OTValidation/Body.jsx @@ -29,15 +29,12 @@ const useStyles = makeStyles(theme => ({ paddingBottom: "1rem", borderBottom: `1px solid ${theme.palette.grey[300]}`, }, - hypotesisLegend: { - marginBottom: "1rem", - }, bold: { fontWeight: 700, }, // hypothesis status classes hsLegendChip: { - width: "32px", + width: theme.spacing(4), }, hsGreen: { backgroundColor: "#407253 !important", // same as PPP green @@ -314,35 +311,38 @@ function Body({ id, label, entity }) { {/** LEGEND */} -
- - {hypothesesStatus.map(hs => ( - - - - - - - - - {hs.expected ? "Expected" : "Not expected"} - {" "} - in OTAR primary project - - - - {hs.observed ? "Observed" : "Not observed"} - {" "} - in OTVL - - - - - ))} - -
+ theme.spacing(2), + display: "flex", + flexDirection: "row", + flexWrap: "wrap", + }} + > + {hypothesesStatus.map(hs => ( + + + `0 ${theme.spacing(3)} 0 ${theme.spacing(1)}` }}> + + + {hs.expected ? "Expected" : "Not expected"} in OTAR primary project + + + + + {hs.observed ? "Observed" : "Not observed"} + in OTVL + + + + + ))} + - {/** CHIPLIST */} + {/** CHIP LIST */}