mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix border on some listing screens (#5115)

* Fix border on PostQuotes, add debug atom

* Add util_screen_outer, apply to h_full_vh here needed

authored by

Eric Bailey and committed by
GitHub
ddda612c 5c2e9f09

+24 -6
+19 -1
src/alf/atoms.ts
··· 1 - import {Platform, StyleSheet} from 'react-native' 1 + import {Platform, StyleSheet, ViewStyle} from 'react-native' 2 2 3 3 import * as tokens from '#/alf/tokens' 4 4 import {native, web} from '#/alf/util/platform' 5 5 6 6 export const atoms = { 7 + debug: { 8 + borderColor: 'red', 9 + borderWidth: 1, 10 + }, 11 + 7 12 /* 8 13 * Positioning 9 14 */ ··· 54 59 h_full_vh: web({ 55 60 height: '100vh', 56 61 }), 62 + 63 + /** 64 + * Used for the outermost components on screens, to ensure that they can fill 65 + * the screen and extend beyond. 66 + */ 67 + util_screen_outer: [ 68 + web({ 69 + minHeight: '100vh', 70 + }), 71 + native({ 72 + height: '100%', 73 + }), 74 + ] as ViewStyle, 57 75 58 76 /* 59 77 * Theme-independent bg colors
+1 -1
src/screens/Post/PostLikedBy.tsx
··· 27 27 ) 28 28 29 29 return ( 30 - <CenteredView style={a.h_full_vh} sideBorders={true}> 30 + <CenteredView style={a.util_screen_outer} sideBorders={true}> 31 31 <ListHeaderDesktop title={_(msg`Liked By`)} /> 32 32 <ViewHeader title={_(msg`Liked By`)} showBorder={!isWeb} /> 33 33 <PostLikedByComponent uri={uri} />
+1 -1
src/screens/Post/PostQuotes.tsx
··· 27 27 ) 28 28 29 29 return ( 30 - <CenteredView style={a.h_full_vh} sideBorders={true}> 30 + <CenteredView style={a.util_screen_outer} sideBorders={true}> 31 31 <ListHeaderDesktop title={_(msg`Quotes`)} /> 32 32 <ViewHeader title={_(msg`Quotes`)} showBorder={!isWeb} /> 33 33 <PostQuotesComponent uri={uri} />
+1 -1
src/screens/Post/PostRepostedBy.tsx
··· 27 27 ) 28 28 29 29 return ( 30 - <CenteredView style={a.h_full_vh} sideBorders={true}> 30 + <CenteredView style={a.util_screen_outer} sideBorders={true}> 31 31 <ListHeaderDesktop title={_(msg`Reposted By`)} /> 32 32 <ViewHeader title={_(msg`Reposted By`)} showBorder={!isWeb} /> 33 33 <PostRepostedByComponent uri={uri} />
+1 -1
src/view/screens/ProfileFollowers.tsx
··· 25 25 ) 26 26 27 27 return ( 28 - <CenteredView style={a.h_full_vh} sideBorders={true}> 28 + <CenteredView style={a.util_screen_outer} sideBorders={true}> 29 29 <ListHeaderDesktop title={_(msg`Followers`)} /> 30 30 <ViewHeader title={_(msg`Followers`)} showBorder={!isWeb} /> 31 31 <ProfileFollowersComponent name={name} />
+1 -1
src/view/screens/ProfileFollows.tsx
··· 25 25 ) 26 26 27 27 return ( 28 - <CenteredView style={a.h_full_vh} sideBorders={true}> 28 + <CenteredView style={a.util_screen_outer} sideBorders={true}> 29 29 <ListHeaderDesktop title={_(msg`Following`)} /> 30 30 <ViewHeader title={_(msg`Following`)} showBorder={!isWeb} /> 31 31 <ProfileFollowsComponent name={name} />