Styling modifications and some formatting

This commit is contained in:
Imbus 2023-12-14 23:14:51 +01:00
parent b59456505a
commit 57b876bf05
2 changed files with 8 additions and 4 deletions

View file

@ -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>
);
}

View file

@ -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,