Fix date column wrapping: wider (140px), whiteSpace nowrap
CI / docker (push) Has been cancelled
CI / build-and-test (push) Has started running

Made-with: Cursor
This commit is contained in:
2026-04-09 13:58:21 +02:00
parent 89145b98d8
commit 4b63b085c8
@@ -205,13 +205,13 @@ export default function AccountLedgerTab() {
return (
<Table size="small" sx={{ tableLayout: 'fixed', '& td, & th': { py: 0.6, fontSize: 13 } }}>
<colgroup>
<col style={{ width: 55 }} />
<col style={{ width: 125 }} />
{showAccountCol && <col style={{ width: 170 }} />}
<col />
<col style={{ width: 130 }} />
<col style={{ width: 130 }} />
<col style={{ width: 50 }} />
<col style={{ width: 140 }} />
{showAccountCol && <col style={{ width: 160 }} />}
<col />
<col style={{ width: 125 }} />
<col style={{ width: 125 }} />
<col style={{ width: 135 }} />
</colgroup>
<TableHead>
<TableRow sx={{ bgcolor: 'primary.main' }}>
@@ -251,7 +251,7 @@ export default function AccountLedgerTab() {
>
{entry.sequenceId || entry.transactionId}
</TableCell>
<TableCell sx={{ fontSize: 12 }}>
<TableCell sx={{ fontSize: 12, whiteSpace: 'nowrap' }}>
{new Date(entry.dateTime).toLocaleDateString('sv-SE')}
<Typography component="span" sx={{ ml: 0.5, fontSize: 11, color: 'text.disabled' }}>
{new Date(entry.dateTime).toLocaleTimeString('sv-SE', { hour: '2-digit', minute: '2-digit' })}