From 035dda3e419d151722d4414436ebc1e6451ec6e7 Mon Sep 17 00:00:00 2001 From: GabrielTrettel Date: Wed, 24 Feb 2021 19:30:17 -0300 Subject: [PATCH] Adding adjustable height in SelfClosingModal --- src/app/components/SelfClosingModal.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/app/components/SelfClosingModal.js b/src/app/components/SelfClosingModal.js index 4fcaa95..65ceacc 100644 --- a/src/app/components/SelfClosingModal.js +++ b/src/app/components/SelfClosingModal.js @@ -37,22 +37,13 @@ const styles = StyleSheet.create({ marginTop: 22, }, modalView: { + flexShrink: 1, margin: 20, width: screen_width, - height: screen_height * 0.4, backgroundColor: "white", borderTopLeftRadius: 10, borderTopRightRadius: 10, marginBottom: 0, - alignItems: "center", - shadowColor: "#000", - shadowOffset: { - width: 0, - height: 2, - }, - shadowOpacity: 0.25, - shadowRadius: 4, - elevation: 5, }, modalOverlay: { position: "absolute",