Skip to content

A local-first personal finance app

Align onboarding form element sizes (#5941)

Matiss Janis Aboltins0ce07d7692c5
diff --git a/packages/desktop-client/src/components/manager/BudgetFileSelection.tsx b/packages/desktop-client/src/components/manager/BudgetFileSelection.tsx
index 731fddd7c2..10ba1d8836 100644
--- a/packages/desktop-client/src/components/manager/BudgetFileSelection.tsx
+++ b/packages/desktop-client/src/components/manager/BudgetFileSelection.tsx
@@ -625,10 +625,12 @@ export function BudgetFileSelection({
maxHeight: '100%',
flex: 1,
justifyContent: 'center',
- ...(!quickSwitchMode && {
- marginTop: 20,
- width: '100vw',
- }),
+ ...(quickSwitchMode
+ ? {
+ marginTop: 20,
+ width: '100vw',
+ }
+ : { marginBottom: 20 }),
[`@media (min-width: ${tokens.breakpoint_small})`]: {
maxWidth: tokens.breakpoint_small,
width: '100%',
@@ -677,8 +679,9 @@ export function BudgetFileSelection({
style={{
flexDirection: 'row',
justifyContent: 'flex-end',
- alignItems: 'center',
- padding: 25,
+ alignItems: 'stretch',
+ margin: 10,
+ minHeight: 39,
}}
>
<Button
diff --git a/packages/desktop-client/src/components/manager/subscribe/Login.tsx b/packages/desktop-client/src/components/manager/subscribe/Login.tsx
index 4f37d39248..a1cb95e590 100644
--- a/packages/desktop-client/src/components/manager/subscribe/Login.tsx
+++ b/packages/desktop-client/src/components/manager/subscribe/Login.tsx
@@ -7,7 +7,7 @@ import { Button, ButtonWithLoading } from '@actual-app/components/button';
import { useResponsive } from '@actual-app/components/hooks/useResponsive';
import { AnimatedLoading } from '@actual-app/components/icons/AnimatedLoading';
import { SvgCheveronDown } from '@actual-app/components/icons/v1';
-import { ResponsiveInput } from '@actual-app/components/input';
+import { BigInput, ResponsiveInput } from '@actual-app/components/input';
import { Menu } from '@actual-app/components/menu';
import { Popover } from '@actual-app/components/popover';
import { styles } from '@actual-app/components/styles';
@@ -66,8 +66,8 @@ function PasswordLogin({ setError, dispatch }) {
gap: '1rem',
}}
>
- <ResponsiveInput
- autoFocus={true}
+ <BigInput
+ autoFocus
placeholder={t('Password')}
type="password"
onChangeValue={setPassword}
diff --git a/upcoming-release-notes/5941.md b/upcoming-release-notes/5941.md
new file mode 100644
index 0000000000..9737360e04
--- /dev/null
+++ b/upcoming-release-notes/5941.md
@@ -0,0 +1,6 @@
+---
+category: Enhancements
+authors: [MatissJanis]
+---
+
+Desktop: align onboarding form element sizes