style(reports): right-align generated date in report rows
This commit is contained in:
@@ -81,14 +81,15 @@ export function ReportList({ reports, loading, fields, selectedId, onView, onReg
|
|||||||
{amounts}
|
{amounts}
|
||||||
</Typography>
|
</Typography>
|
||||||
)}
|
)}
|
||||||
{fields && (
|
|
||||||
<Box sx={{ color: "text.secondary" }}>
|
|
||||||
<ListCellRenderer field={fields.generatedAt} value={report.generated_at} />
|
|
||||||
</Box>
|
|
||||||
)}
|
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
{fields && (
|
||||||
|
<Box sx={{ ml: "auto", flexShrink: 0, color: "text.secondary" }}>
|
||||||
|
<ListCellRenderer field={fields.generatedAt} value={report.generated_at} />
|
||||||
|
</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)}>
|
||||||
View
|
View
|
||||||
|
|||||||
Reference in New Issue
Block a user