Adjust modal display with new react-navigation look
This commit is contained in:
@@ -28,7 +28,7 @@ function generateStyles(scheme: ColorSchemeName) {
|
|||||||
backgroundColor: scheme === 'dark' ? '#333' : '#ddd',
|
backgroundColor: scheme === 'dark' ? '#333' : '#ddd',
|
||||||
},
|
},
|
||||||
modal: {
|
modal: {
|
||||||
backgroundColor: scheme === 'dark' ? '#222222ee' : '#eeeeeeee',
|
backgroundColor: scheme === 'dark' ? '#22222200' : '#eeeeee00',
|
||||||
},
|
},
|
||||||
modalInner: {
|
modalInner: {
|
||||||
backgroundColor: scheme === 'dark' ? '#000' : '#fff',
|
backgroundColor: scheme === 'dark' ? '#000' : '#fff',
|
||||||
|
|||||||
@@ -9,17 +9,20 @@ interface Props {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const Background = styled(Pressable)`
|
const Background = styled(Pressable)`
|
||||||
padding: 100px 25px;
|
|
||||||
flex: 1;
|
flex: 1;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Container = styled(Pressable)<Pick<Props, 'fullSize'>>`
|
const Container = styled(Pressable)<Pick<Props, 'fullSize'>>`
|
||||||
border-radius: 20px;
|
margin: auto 20px;
|
||||||
margin: auto 0;
|
padding: 4px;
|
||||||
|
border-radius: 8px;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
${props => props.fullSize && css`
|
${props => props.fullSize && css`
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
margin: auto 0;
|
||||||
|
border-radius: 0px;
|
||||||
`}
|
`}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
@@ -20,12 +20,11 @@ const Container = styled.View`
|
|||||||
|
|
||||||
const Buttons = styled.View`
|
const Buttons = styled.View`
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
flex-direction: row;
|
|
||||||
/* justify-content: space-around; */
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const ButtonSpacing = styled.View`
|
const ButtonSpacing = styled.View`
|
||||||
width: 8px;
|
width: 8px;
|
||||||
|
height: 4px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
function TrackPopupMenu() {
|
function TrackPopupMenu() {
|
||||||
|
|||||||
Reference in New Issue
Block a user