Make info modal only as big as it needs to be
This commit is contained in:
+8
-10
@@ -295,24 +295,22 @@ export default StyleSheet.create({
|
|||||||
},
|
},
|
||||||
infoPopUpWrapper: {
|
infoPopUpWrapper: {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
top: 0,
|
width: '100%',
|
||||||
bottom: 0,
|
height: '100%'
|
||||||
left: 0,
|
|
||||||
right: 0
|
|
||||||
},
|
},
|
||||||
infoPopUp: {
|
infoPopUp: {
|
||||||
backgroundColor: 'white',
|
backgroundColor: 'white',
|
||||||
padding: 15,
|
padding: 15,
|
||||||
position: 'absolute',
|
marginHorizontal: 20,
|
||||||
top: 20,
|
marginTop: 20,
|
||||||
bottom: 20,
|
maxHeight: '92%'
|
||||||
left: 20,
|
|
||||||
right: 20
|
|
||||||
},
|
},
|
||||||
dimmed: {
|
dimmed: {
|
||||||
|
position: 'absolute',
|
||||||
backgroundColor: 'black',
|
backgroundColor: 'black',
|
||||||
opacity: 0.5,
|
opacity: 0.5,
|
||||||
flex: 1
|
width: '100%',
|
||||||
|
height: '100%'
|
||||||
},
|
},
|
||||||
infoSymptomClose: {
|
infoSymptomClose: {
|
||||||
alignItems: 'flex-end'
|
alignItems: 'flex-end'
|
||||||
|
|||||||
Reference in New Issue
Block a user