Skip to content

A local-first personal finance app

fix spacing and borders on bank sync page (#6823)

Matt Fiddaman234f257260f6
diff --git a/packages/desktop-client/src/components/banksync/AccountsList.tsx b/packages/desktop-client/src/components/banksync/AccountsList.tsx
index 2bc6f4a52c..17b40f9819 100644
--- a/packages/desktop-client/src/components/banksync/AccountsList.tsx
+++ b/packages/desktop-client/src/components/banksync/AccountsList.tsx
@@ -30,7 +30,6 @@ export function AccountsList({
return (
<View
style={{
- minHeight: 'initial',
marginBottom: -1,
}}
>
diff --git a/packages/desktop-client/src/components/banksync/index.tsx b/packages/desktop-client/src/components/banksync/index.tsx
index e154cfb8a9..1159bf99d2 100644
--- a/packages/desktop-client/src/components/banksync/index.tsx
+++ b/packages/desktop-client/src/components/banksync/index.tsx
@@ -129,7 +129,7 @@ export function BankSync() {
)}
{Object.entries(groupedAccounts).map(([syncProvider, accounts]) => {
return (
- <View key={syncProvider} style={styles.tableContainer}>
+ <View key={syncProvider} style={{ marginBottom: '1em' }}>
{Object.keys(groupedAccounts).length > 1 && (
<Text
style={{ fontWeight: 500, fontSize: 20, margin: '.5em 0' }}
@@ -137,13 +137,15 @@ export function BankSync() {
{syncSourceReadable[syncProvider as SyncProviders]}
</Text>
)}
- <AccountsHeader unlinked={syncProvider === 'unlinked'} />
- <AccountsList
- accounts={accounts}
- hoveredAccount={hoveredAccount}
- onHover={onHover}
- onAction={onAction}
- />
+ <View style={styles.tableContainer}>
+ <AccountsHeader unlinked={syncProvider === 'unlinked'} />
+ <AccountsList
+ accounts={accounts}
+ hoveredAccount={hoveredAccount}
+ onHover={onHover}
+ onAction={onAction}
+ />
+ </View>
</View>
);
})}
diff --git a/upcoming-release-notes/6823.md b/upcoming-release-notes/6823.md
new file mode 100644
index 0000000000..2edd9eea59
--- /dev/null
+++ b/upcoming-release-notes/6823.md
@@ -0,0 +1,6 @@
+---
+category: Bugfixes
+authors: [matt-fidd]
+---
+
+Fix spacing and borders on bank sync page