Post layout tweaks (#53)

* Increase left margin on feed and embiggen avis

* Decrease feed margins a bit

* Tweak post bottom margin

* Update loading placeholder to match feed

* Update 'view full thread' positioning

* Update postthread to match feed layout

* Update notifications and individual post to match new layout

* Add missing aborted check
This commit is contained in:
Paul Frazee 2023-01-19 10:35:57 -06:00 committed by GitHub
parent 6588961d2e
commit 2798250489
7 changed files with 44 additions and 26 deletions

View file

@ -48,7 +48,7 @@ export function PostLoadingPlaceholder({
const pal = usePalette('default')
return (
<View style={[styles.post, pal.view, style]}>
<LoadingPlaceholder width={50} height={50} style={styles.avatar} />
<LoadingPlaceholder width={52} height={52} style={styles.avatar} />
<View style={[s.flex1]}>
<LoadingPlaceholder width={100} height={8} style={[s.mb10]} />
<LoadingPlaceholder width={200} height={8} style={[s.mb5]} />
@ -143,8 +143,9 @@ const styles = StyleSheet.create({
margin: 1,
},
avatar: {
borderRadius: 25,
borderRadius: 26,
marginRight: 10,
marginLeft: 6,
},
notification: {
padding: 10,