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}