mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 04:04:21 -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),
|
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>
|
</ScrollView>
|
||||||
</ImageBackground>
|
</ImageBackground>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user