Add background color to login form even when it overflows

This commit is contained in:
Zoe Roux 2024-03-03 16:15:31 +01:00
parent 239ad9a4dc
commit 68c83d8a5d

View File

@ -67,7 +67,19 @@ export const FormPage = ({ children, ...props }: { children: ReactNode } & Styla
paddingHorizontal: ts(3),
})}
>
<View {...css({ maxWidth: px(600) }, props)}>{children}</View>
<View
{...css(
{
maxWidth: px(600),
backgroundColor: (theme) => theme.background,
borderRadius: ts(25),
paddingBottom: ts(5),
},
props,
)}
>
{children}
</View>
</ScrollView>
</ImageBackground>
);