Browse Source

Adding adjustable height in SelfClosingModal

master
GabrielTrettel 4 years ago
parent
commit
035dda3e41
  1. 11
      src/app/components/SelfClosingModal.js

11
src/app/components/SelfClosingModal.js

@ -37,22 +37,13 @@ const styles = StyleSheet.create({
marginTop: 22, marginTop: 22,
}, },
modalView: { modalView: {
flexShrink: 1,
margin: 20, margin: 20,
width: screen_width, width: screen_width,
height: screen_height * 0.4,
backgroundColor: "white", backgroundColor: "white",
borderTopLeftRadius: 10, borderTopLeftRadius: 10,
borderTopRightRadius: 10, borderTopRightRadius: 10,
marginBottom: 0, marginBottom: 0,
alignItems: "center",
shadowColor: "#000",
shadowOffset: {
width: 0,
height: 2,
},
shadowOpacity: 0.25,
shadowRadius: 4,
elevation: 5,
}, },
modalOverlay: { modalOverlay: {
position: "absolute", position: "absolute",

Loading…
Cancel
Save