Merge pull request #18483 from npiyush97/fix-18413

Fixed issue: Date parsing is broken in the ADR plugin
This commit is contained in:
Ben Lambert
2023-07-11 15:26:50 +02:00
committed by GitHub
5 changed files with 18 additions and 7 deletions
@@ -68,9 +68,10 @@ const useStyles = makeStyles((theme: Theme) => ({
color: theme.palette.grey[700],
marginBottom: theme.spacing(1),
},
adrChip: {
position: 'absolute',
right: 0,
adrBox: {
display: 'flex',
justifyContent: 'space-between',
marginTop: '10px',
},
}));
@@ -131,7 +132,7 @@ const AdrListContainer = (props: {
style: { whiteSpace: 'normal' },
}}
secondary={
<Box>
<Box className={classes.adrBox}>
{adr.date}
{adr.status && (
<Chip
@@ -139,7 +140,6 @@ const AdrListContainer = (props: {
label={adr.status}
size="small"
variant="outlined"
className={classes.adrChip}
/>
)}
</Box>