From 05e4e4ff93b0e4b7c5515852017be046ebc3859c Mon Sep 17 00:00:00 2001 From: Ansh Date: Wed, 12 Apr 2023 18:28:45 -0700 Subject: add maxHeight of 100vh to web modal to stop overflow (#463) --- src/view/com/modals/Modal.web.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/view/com/modals/Modal.web.tsx b/src/view/com/modals/Modal.web.tsx index 6f026e174..25fed69a4 100644 --- a/src/view/com/modals/Modal.web.tsx +++ b/src/view/com/modals/Modal.web.tsx @@ -114,6 +114,7 @@ const styles = StyleSheet.create({ container: { width: 500, maxWidth: '100vw', + maxHeight: '100vh', paddingVertical: 20, paddingHorizontal: 24, borderRadius: 8, -- cgit 1.4.1