Widen numeric columns in both ledger tabs for large amounts
Debit/Credit columns: 100px → 130px Balance column: 110px → 140px Accommodates million-scale amounts like 1,992,983.52 without overflow. Applied to both Account Ledger and General Journal tabs. Made-with: Cursor
This commit is contained in:
@@ -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: 60 }} />
|
||||
<col style={{ width: 130 }} />
|
||||
{showAccountCol && <col style={{ width: 180 }} />}
|
||||
<col style={{ width: 55 }} />
|
||||
<col style={{ width: 125 }} />
|
||||
{showAccountCol && <col style={{ width: 170 }} />}
|
||||
<col />
|
||||
<col style={{ width: 100 }} />
|
||||
<col style={{ width: 100 }} />
|
||||
<col style={{ width: 110 }} />
|
||||
<col style={{ width: 130 }} />
|
||||
<col style={{ width: 130 }} />
|
||||
<col style={{ width: 140 }} />
|
||||
</colgroup>
|
||||
<TableHead>
|
||||
<TableRow sx={{ bgcolor: 'primary.main' }}>
|
||||
|
||||
@@ -106,11 +106,11 @@ export default function GeneralJournalTab() {
|
||||
<Table size="small" sx={{ tableLayout: 'fixed', '& td, & th': { py: 0.4, fontSize: 13 } }}>
|
||||
<colgroup>
|
||||
<col style={{ width: 55 }} />
|
||||
<col style={{ width: 130 }} />
|
||||
<col style={{ width: 125 }} />
|
||||
<col />
|
||||
<col style={{ width: 105 }} />
|
||||
<col style={{ width: 105 }} />
|
||||
<col style={{ width: 120 }} />
|
||||
<col style={{ width: 130 }} />
|
||||
<col style={{ width: 130 }} />
|
||||
<col style={{ width: 140 }} />
|
||||
</colgroup>
|
||||
<TableHead>
|
||||
<TableRow sx={{ bgcolor: 'primary.main' }}>
|
||||
|
||||
Reference in New Issue
Block a user