mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
Fix: Transaction table constantly resizing (#2941)
This commit is contained in:
@@ -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"
|
||||
|
||||
6
upcoming-release-notes/2941.md
Normal file
6
upcoming-release-notes/2941.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [lelemm]
|
||||
---
|
||||
|
||||
Fix: Transaction table constantly resizing
|
||||
Reference in New Issue
Block a user