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.tsxindex 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 (<Viewstyle={{- minHeight: 'initial',marginBottom: -1,}}>diff --git a/packages/desktop-client/src/components/banksync/index.tsx b/packages/desktop-client/src/components/banksync/index.tsxindex 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 && (<Textstyle={{ 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.mdnew file mode 100644index 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