Skip to content

A local-first personal finance app

[Bugfix]🐛 Fix refresh icon (sync) centering in Titlebar (#7674)

Juulz49f6b21f2c36
diff --git a/packages/desktop-client/src/components/Titlebar.tsx b/packages/desktop-client/src/components/Titlebar.tsx
index c4e952a714..88eba5de9f 100644
--- a/packages/desktop-client/src/components/Titlebar.tsx
+++ b/packages/desktop-client/src/components/Titlebar.tsx
@@ -243,8 +243,8 @@ function ServerSyncButton({ style, isMobile = false }: ServerSyncButtonProps) {
) : (
<AnimatedRefresh animating={syncing} />
)}
- <Text style={isMobile ? { ...mobileTextStyle } : { marginLeft: 3 }}>
- {syncState === 'disabled' ? t('Disabled') : null}
+ <Text style={isMobile ? { ...mobileTextStyle } : null}>
+ {syncState === 'disabled' ? ` ${t('Disabled')}` : null}
</Text>
</Button>
);
diff --git a/upcoming-release-notes/7674.md b/upcoming-release-notes/7674.md
new file mode 100644
index 0000000000..412f4c34b7
--- /dev/null
+++ b/upcoming-release-notes/7674.md
@@ -0,0 +1,6 @@
+---
+category: Bugfixes
+authors: [Juulz]
+---
+
+Fix refresh (sync) icon centering in Titlebar.