diff --git a/app/(dashboard)/supplier-invoices/[id]/page.tsx b/app/(dashboard)/supplier-invoices/[id]/page.tsx index eb1c1e98..68f15615 100644 --- a/app/(dashboard)/supplier-invoices/[id]/page.tsx +++ b/app/(dashboard)/supplier-invoices/[id]/page.tsx @@ -720,10 +720,13 @@ export default function SupplierInvoiceDetailPage() { {t('rows_title')} - {/* Desktop table */} + {/* Desktop table. The cells carry no horizontal padding of their + own, so every column after the first gets a pl-4 gutter: without + it a right-aligned column runs flush into the next left-aligned + one ("8 985 kr5010", "ANTALENHET"). */}
- + @@ -735,7 +738,7 @@ export default function SupplierInvoiceDetailPage() { - + {items.map((item) => (
{t('col_description')} {t('col_quantity')}{t('col_vat')}
@@ -803,10 +806,11 @@ export default function SupplierInvoiceDetailPage() { {t('payment_history_title')} - {/* Desktop table */} + {/* Desktop table: same non-first-column gutter as the line-item + table above ("11 231 krb9da9d7c" otherwise). */}
- + @@ -814,7 +818,7 @@ export default function SupplierInvoiceDetailPage() { - + {payments.map((p) => (
{t('col_date')} {t('col_amount_short')}{t('col_note')}
{formatDate(p.payment_date)}