Skip to content

A local-first personal finance app

Change formatting of reconcile form for clarity and ease of use (#7423)

Juulz23313b3ac572
diff --git a/packages/desktop-client/src/components/accounts/Reconcile.tsx b/packages/desktop-client/src/components/accounts/Reconcile.tsx
index 87205be82f..dfc01545fc 100644
--- a/packages/desktop-client/src/components/accounts/Reconcile.tsx
+++ b/packages/desktop-client/src/components/accounts/Reconcile.tsx
@@ -183,13 +183,13 @@ export function ReconcileMenu({
<Input
value={inputValue}
onChangeValue={setInputValue}
- style={{ margin: '7px 0' }}
+ style={{ margin: '7px 0', textAlign: 'right' }}
/>
</InitialFocus>
)}
{lastSyncedBalance != null && (
<View>
- <Text>
+ <Text style={{ margin: '0 6px 8px 0', textAlign: 'right' }}>
<Trans>Last Balance from Bank: </Trans>
{format(lastSyncedBalance, 'financial')}
</Text>
@@ -203,7 +203,16 @@ export function ReconcileMenu({
</Button>
</View>
)}
- <Text style={{ color: theme.pageTextSubdued, paddingBottom: 6 }}>
+ <Button type="submit" variant="primary">
+ <Trans>Reconcile</Trans>
+ </Button>
+ <Text
+ style={{
+ color: theme.pageTextLight,
+ marginTop: '8px',
+ textAlign: 'center',
+ }}
+ >
{account?.last_reconciled
? t('Reconciled {{ relativeTimeAgo }} ({{ absoluteDate }})', {
relativeTimeAgo: tsToRelativeTime(
@@ -218,9 +227,6 @@ export function ReconcileMenu({
})
: t('Not yet reconciled')}
</Text>
- <Button type="submit" variant="primary">
- <Trans>Reconcile</Trans>
- </Button>
</View>
</Form>
);
diff --git a/upcoming-release-notes/7423.md b/upcoming-release-notes/7423.md
new file mode 100644
index 0000000000..727bf7e97d
--- /dev/null
+++ b/upcoming-release-notes/7423.md
@@ -0,0 +1,6 @@
+---
+category: Enhancements
+authors: [Juulz]
+---
+
+Change formatting of reconcile form for clarity and ease of use.