mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Add background color to login form even when it overflows
This commit is contained in:
parent
239ad9a4dc
commit
68c83d8a5d
@ -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>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user