Enable React Native strict TypeScript API (#11459)
This commit is contained in:
@@ -88,14 +88,12 @@ const styles = StyleSheet.create({
|
||||
borderRadius: 8,
|
||||
marginBottom: 0,
|
||||
borderWidth: 1,
|
||||
// @ts-expect-error web only
|
||||
maxHeight: 'calc(100% - (40px * 2))',
|
||||
overflow: 'hidden',
|
||||
},
|
||||
containerMobile: {
|
||||
borderRadius: 0,
|
||||
marginBottom: BOTTOM_BAR_HEIGHT,
|
||||
// @ts-expect-error web only
|
||||
maxHeight: `calc(100% - ${BOTTOM_BAR_HEIGHT}px)`,
|
||||
},
|
||||
})
|
||||
|
||||
@@ -773,8 +773,8 @@ const styles = StyleSheet.create({
|
||||
leftNav: {
|
||||
left: '50%',
|
||||
width: LEFT_NAV_STANDARD_WIDTH,
|
||||
// @ts-expect-error web only
|
||||
maxHeight: '100vh',
|
||||
// @ts-expect-error web only
|
||||
overflowY: 'auto',
|
||||
scrollbarWidth: 'thin',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user