Styling modifications and some formatting
This commit is contained in:
parent
b59456505a
commit
57b876bf05
2 changed files with 8 additions and 4 deletions
|
@ -16,7 +16,7 @@ export function PostView({ post }: { post: Post }): JSX.Element {
|
|||
|
||||
return (
|
||||
<View style={style.postView}>
|
||||
<Text style={style.postFont} >{thisPost.content}</Text>
|
||||
<Text style={style.postFont}>{thisPost.content}</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -14,19 +14,23 @@ export const style = StyleSheet.create({
|
|||
backgroundColor: colorScheme.background, // For the "entire" app
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
margin: 0,
|
||||
},
|
||||
postsContainer: {
|
||||
margin: 0,
|
||||
height: '100%',
|
||||
width: '100%',
|
||||
padding: 5,
|
||||
flex: 1,
|
||||
alignItems: 'center',
|
||||
paddingVertical: 30,
|
||||
justifyContent: 'flex-start',
|
||||
backgroundColor: colorScheme.background, // For the container holding the posts
|
||||
},
|
||||
postView: {
|
||||
borderRadius: 6,
|
||||
flexDirection: "row",
|
||||
backgroundColor: colorScheme.postBox,
|
||||
paddingVertical: 5,
|
||||
margin: 5,
|
||||
padding: 15,
|
||||
},
|
||||
postFont: {
|
||||
color: colorScheme.postFont,
|
||||
|
|
Loading…
Reference in a new issue