diff --git a/src/components/postElements/body/view/commentBodyView.js b/src/components/postElements/body/view/commentBodyView.js index 5ca509864..c959054d4 100644 --- a/src/components/postElements/body/view/commentBodyView.js +++ b/src/components/postElements/body/view/commentBodyView.js @@ -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={() => } customScript={script.toString()} diff --git a/src/navigation/routes.js b/src/navigation/routes.js index 9030c9028..84a363405 100644 --- a/src/navigation/routes.js +++ b/src/navigation/routes.js @@ -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({