style(reports): right-align generated date in report rows

This commit is contained in:
2026-08-24 19:39:27 +05:30
parent 51a209f349
commit a3a87cc1ed

View File

@@ -81,13 +81,14 @@ export function ReportList({ reports, loading, fields, selectedId, onView, onReg
{amounts} {amounts}
</Typography> </Typography>
)} )}
</Box>
</Box>
{fields && ( {fields && (
<Box sx={{ color: "text.secondary" }}> <Box sx={{ ml: "auto", flexShrink: 0, color: "text.secondary" }}>
<ListCellRenderer field={fields.generatedAt} value={report.generated_at} /> <ListCellRenderer field={fields.generatedAt} value={report.generated_at} />
</Box> </Box>
)} )}
</Box>
</Box>
<Box sx={{ display: "flex", gap: 0.5, flexShrink: 0 }}> <Box sx={{ display: "flex", gap: 0.5, flexShrink: 0 }}>
<Button size="small" variant="contained" startIcon={<VisibilityIcon />} onClick={() => onView(report.id)}> <Button size="small" variant="contained" startIcon={<VisibilityIcon />} onClick={() => onView(report.id)}>