about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnsh <anshnanda10@gmail.com>2023-04-12 18:28:45 -0700
committerGitHub <noreply@github.com>2023-04-12 18:28:45 -0700
commit05e4e4ff93b0e4b7c5515852017be046ebc3859c (patch)
tree14c4ad627f514f662d36b5d1634201628f805fa6
parentf6769b283fe83d7abbc0545077b3dca978184eed (diff)
downloadvoidsky-05e4e4ff93b0e4b7c5515852017be046ebc3859c.tar.zst
add maxHeight of 100vh to web modal to stop overflow (#463)
-rw-r--r--src/view/com/modals/Modal.web.tsx1
1 files changed, 1 insertions, 0 deletions
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,