add maxHeight of 100vh to web modal to stop overflow (#463)

zio/stable
Ansh 2023-04-12 18:28:45 -07:00 committed by GitHub
parent f6769b283f
commit 05e4e4ff93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ const styles = StyleSheet.create({
container: { container: {
width: 500, width: 500,
maxWidth: '100vw', maxWidth: '100vw',
maxHeight: '100vh',
paddingVertical: 20, paddingVertical: 20,
paddingHorizontal: 24, paddingHorizontal: 24,
borderRadius: 8, borderRadius: 8,