diff --git a/packages/desktop-client/src/components/transactions/TransactionsTable.jsx b/packages/desktop-client/src/components/transactions/TransactionsTable.jsx index 60286ed4eca32efc28656edbff4d8d800b253936..adcf236f115ca55bf36eec871b6acb83c51a42c3 100644 --- a/packages/desktop-client/src/components/transactions/TransactionsTable.jsx +++ b/packages/desktop-client/src/components/transactions/TransactionsTable.jsx @@ -181,6 +181,10 @@ const TransactionHeader = memo( zIndex: 200, color: theme.tableHeaderText, backgroundColor: theme.tableBackground, + paddingRight: `${5 + (scrollWidth ?? 0)}px`, + borderTopWidth: 1, + borderBottomWidth: 1, + borderColor: theme.tableBorder, }} > <SelectCell @@ -188,6 +192,10 @@ const TransactionHeader = memo( focused={false} selected={hasSelected} width={20} + style={{ + borderTopWidth: 0, + borderBottomWidth: 0, + }} onSelect={e => dispatchSelected({ type: 'select-all', event: e })} /> <HeaderCell @@ -291,8 +299,6 @@ const TransactionHeader = memo( }} /> )} - - <Cell value="" width={5 + (scrollWidth ?? 0)} /> </Row> ); }, @@ -416,6 +422,10 @@ function HeaderCell({ name={id} alignItems={alignItems} value={value} + style={{ + borderTopWidth: 0, + borderBottomWidth: 0, + }} unexposedContent={({ value: cellValue }) => ( <Button type="bare" diff --git a/upcoming-release-notes/2941.md b/upcoming-release-notes/2941.md new file mode 100644 index 0000000000000000000000000000000000000000..58d277b13764cada9d3a44859a76ad6d4f0414a9 --- /dev/null +++ b/upcoming-release-notes/2941.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [lelemm] +--- + +Fix: Transaction table constantly resizing