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 {
|
||||
color: ${EStyleSheet.value('$primaryBlue')};
|
||||
cursor: pointer;
|
||||
margin-right: 5;
|
||||
}
|
||||
img {
|
||||
align-self: 'center';
|
||||
@ -279,7 +278,10 @@ const CommentBody = ({
|
||||
-webkit-transform: translateX(-50%) translateY(-50%);
|
||||
-moz-transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
|
||||
b > * {
|
||||
display: inline-block;
|
||||
margin: 2 10;
|
||||
}
|
||||
iframe {
|
||||
width: 100%;
|
||||
height: 240px;
|
||||
@ -328,8 +330,8 @@ const CommentBody = ({
|
||||
html: html,
|
||||
}}
|
||||
allowsFullscreenVideo={true}
|
||||
customStyle={customStyle}
|
||||
style={{ width: WIDTH - (32 + 34 * commentDepth) }}
|
||||
customStyle={customStyle}
|
||||
onMessage={__handleOnLinkPress}
|
||||
renderLoading={() => <CommentPlaceHolder />}
|
||||
customScript={script.toString()}
|
||||
|
@ -108,7 +108,13 @@ const stackNavigator = createStackNavigator(
|
||||
[ROUTES.DRAWER.MAIN]: { screen: mainNavigation },
|
||||
[ROUTES.SCREENS.PROFILE]: { screen: Profile },
|
||||
[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.VOTERS]: { screen: Voters },
|
||||
[ROUTES.SCREENS.FOLLOWS]: { screen: Follows },
|
||||
@ -122,7 +128,9 @@ const stackNavigator = createStackNavigator(
|
||||
[ROUTES.SCREENS.REBLOGS]: { screen: Reblogs },
|
||||
[ROUTES.SCREENS.SPIN_GAME]: { screen: SpinGame },
|
||||
},
|
||||
{ headerMode: 'none' },
|
||||
{
|
||||
headerMode: 'none',
|
||||
},
|
||||
);
|
||||
|
||||
export default createSwitchNavigator({
|
||||
|
Loading…
Reference in New Issue
Block a user