From 37acaf9554b13c4cc5d94fe92f7feab87074cf5d Mon Sep 17 00:00:00 2001 From: seb Date: Thu, 15 Oct 2026 03:42:19 +0200 Subject: [PATCH] u --- src/components/manifest/QuoteList.jsx | 57 ++++++++++++++------------- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/src/components/manifest/QuoteList.jsx b/src/components/manifest/QuoteList.jsx index 001af30..21ce0d1 100644 --- a/src/components/manifest/QuoteList.jsx +++ b/src/components/manifest/QuoteList.jsx @@ -83,8 +83,10 @@ export function createDummyTestQuote() { const rowGridSx = { display: 'grid', gridTemplateColumns: 'max-content max-content 1fr max-content max-content max-content auto', + gridTemplateRows: '0px 1fr', + rowGap: 0, + columnGap: 1.5, alignItems: 'center', - gap: 1.5, width: '100%', boxSizing: 'border-box', }; @@ -92,8 +94,8 @@ const rowGridSx = { const ellipsisSx = { overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }; const measuringCellSx = { - border: '1px dashed #1976d2', - opacity: 0.55, + visibility: 'hidden', + height: 0, boxSizing: 'border-box', pointerEvents: 'none', textTransform: 'none', @@ -127,7 +129,7 @@ function renderInvisibleDummyRow(dummy) { {(d.files || []).map((file, i) => ( - + ))} @@ -176,15 +178,15 @@ class QuoteRow extends PureComponent { ); } return ( - + {renderInvisibleDummyRow(dummy)} - - - - - - - + + + + + + + ); } @@ -199,31 +201,31 @@ class QuoteRow extends PureComponent { return ( onOpen?.(quote)} disabled={disabled} > {renderInvisibleDummyRow(dummy)} - + {quote.number} - + {quote.date ? formatDate(quote.date) : '–'} - + {customer} - + {files.slice(0, 4).map((file, index) => { @@ -315,7 +316,7 @@ class QuoteRow extends PureComponent { })} - + - + {renderInvisibleDummyRow(this.headerItem)} - Nr. - Datum - Kunde - Pos. - - Gesamt - + Nr. + Datum + Kunde + Pos. + + Gesamt + } onPageChange={this.handlePageChange}