Skip to content

A local-first personal finance app

Fix mobile bank sync full width (#6098)

Matiss Janis Aboltins1d8580cead6a
diff --git a/packages/desktop-client/src/components/banksync/BankSyncCheckboxOptions.tsx b/packages/desktop-client/src/components/banksync/BankSyncCheckboxOptions.tsx
index f690159105..7e3bdc37ef 100644
--- a/packages/desktop-client/src/components/banksync/BankSyncCheckboxOptions.tsx
+++ b/packages/desktop-client/src/components/banksync/BankSyncCheckboxOptions.tsx
@@ -31,7 +31,11 @@ function CheckboxOption({
if (helpMode === 'mobile') {
return (
<SpaceBetween
- style={{ marginBottom: 5, justifyContent: 'space-between' }}
+ style={{
+ marginBottom: 5,
+ justifyContent: 'space-between',
+ width: '100%',
+ }}
>
<Text>{children}</Text>
<ToggleField
@@ -97,8 +101,12 @@ function CheckboxOptionWithHelp({
}
return (
- <SpaceBetween direction="vertical" gap={5} style={{ marginBottom: 5 }}>
- <SpaceBetween style={{ justifyContent: 'space-between' }}>
+ <SpaceBetween
+ direction="vertical"
+ gap={5}
+ style={{ marginBottom: 5, width: '100%' }}
+ >
+ <SpaceBetween style={{ justifyContent: 'space-between', width: '100%' }}>
<SpaceBetween gap={5}>
<Text>{children}</Text>
<Button
diff --git a/upcoming-release-notes/6098.md b/upcoming-release-notes/6098.md
new file mode 100644
index 0000000000..0c804b3798
--- /dev/null
+++ b/upcoming-release-notes/6098.md
@@ -0,0 +1,7 @@
+---
+category: Bugfix
+authors: [MatissJanis]
+---
+
+Fix mobile layout to ensure full-width rendering for BankSyncCheckboxOptions component.
+