Fix region sizing on web

This commit is contained in:
Paul Frazee 2023-02-24 10:10:21 -06:00
parent 3e19728618
commit fa115c1cba
14 changed files with 25 additions and 16 deletions

View file

@ -23,6 +23,7 @@ import {
ViewProps,
} from 'react-native'
import {addStyle, colors} from 'lib/styles'
import {DESKTOP_HEADER_HEIGHT} from 'lib/constants'
export function CenteredView({
style,
@ -78,7 +79,7 @@ const styles = StyleSheet.create({
},
containerScroll: {
width: '100%',
height: '100%',
height: `calc(100vh - ${DESKTOP_HEADER_HEIGHT}px)`,
maxWidth: 600,
marginLeft: 'auto',
marginRight: 'auto',