mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 03:42:10 +03:00
fix space for comment link group, enable swipe back on post page
This commit is contained in:
parent
768de02d59
commit
36be0cfcb3
@ -216,7 +216,6 @@ const CommentBody = ({
|
|||||||
a {
|
a {
|
||||||
color: ${EStyleSheet.value('$primaryBlue')};
|
color: ${EStyleSheet.value('$primaryBlue')};
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-right: 5;
|
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
align-self: 'center';
|
align-self: 'center';
|
||||||
@ -279,7 +278,10 @@ const CommentBody = ({
|
|||||||
-webkit-transform: translateX(-50%) translateY(-50%);
|
-webkit-transform: translateX(-50%) translateY(-50%);
|
||||||
-moz-transform: translateX(-50%) translateY(-50%);
|
-moz-transform: translateX(-50%) translateY(-50%);
|
||||||
}
|
}
|
||||||
|
b > * {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 2 10;
|
||||||
|
}
|
||||||
iframe {
|
iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 240px;
|
height: 240px;
|
||||||
@ -328,8 +330,8 @@ const CommentBody = ({
|
|||||||
html: html,
|
html: html,
|
||||||
}}
|
}}
|
||||||
allowsFullscreenVideo={true}
|
allowsFullscreenVideo={true}
|
||||||
customStyle={customStyle}
|
|
||||||
style={{ width: WIDTH - (32 + 34 * commentDepth) }}
|
style={{ width: WIDTH - (32 + 34 * commentDepth) }}
|
||||||
|
customStyle={customStyle}
|
||||||
onMessage={__handleOnLinkPress}
|
onMessage={__handleOnLinkPress}
|
||||||
renderLoading={() => <CommentPlaceHolder />}
|
renderLoading={() => <CommentPlaceHolder />}
|
||||||
customScript={script.toString()}
|
customScript={script.toString()}
|
||||||
|
@ -108,7 +108,13 @@ const stackNavigator = createStackNavigator(
|
|||||||
[ROUTES.DRAWER.MAIN]: { screen: mainNavigation },
|
[ROUTES.DRAWER.MAIN]: { screen: mainNavigation },
|
||||||
[ROUTES.SCREENS.PROFILE]: { screen: Profile },
|
[ROUTES.SCREENS.PROFILE]: { screen: Profile },
|
||||||
[ROUTES.SCREENS.PROFILE_EDIT]: { screen: ProfileEdit },
|
[ROUTES.SCREENS.PROFILE_EDIT]: { screen: ProfileEdit },
|
||||||
[ROUTES.SCREENS.POST]: { screen: Post },
|
[ROUTES.SCREENS.POST]: {
|
||||||
|
screen: Post,
|
||||||
|
navigationOptions: {
|
||||||
|
gesturesEnabled: true,
|
||||||
|
gestureResponseDistance: { horizontal: 100 },
|
||||||
|
},
|
||||||
|
},
|
||||||
[ROUTES.SCREENS.EDITOR]: { screen: Editor },
|
[ROUTES.SCREENS.EDITOR]: { screen: Editor },
|
||||||
[ROUTES.SCREENS.VOTERS]: { screen: Voters },
|
[ROUTES.SCREENS.VOTERS]: { screen: Voters },
|
||||||
[ROUTES.SCREENS.FOLLOWS]: { screen: Follows },
|
[ROUTES.SCREENS.FOLLOWS]: { screen: Follows },
|
||||||
@ -122,7 +128,9 @@ const stackNavigator = createStackNavigator(
|
|||||||
[ROUTES.SCREENS.REBLOGS]: { screen: Reblogs },
|
[ROUTES.SCREENS.REBLOGS]: { screen: Reblogs },
|
||||||
[ROUTES.SCREENS.SPIN_GAME]: { screen: SpinGame },
|
[ROUTES.SCREENS.SPIN_GAME]: { screen: SpinGame },
|
||||||
},
|
},
|
||||||
{ headerMode: 'none' },
|
{
|
||||||
|
headerMode: 'none',
|
||||||
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
export default createSwitchNavigator({
|
export default createSwitchNavigator({
|
||||||
|
Loading…
Reference in New Issue
Block a user