Revert "Tweak padding for threaded posts"
This reverts commit e1345f2402.
This commit is contained in:
@@ -100,7 +100,7 @@ function ThreadItemTreePostDeleted({
|
|||||||
t.atoms.bg_contrast_25,
|
t.atoms.bg_contrast_25,
|
||||||
{
|
{
|
||||||
gap: 6,
|
gap: 6,
|
||||||
paddingHorizontal: OUTER_SPACE,
|
paddingHorizontal: OUTER_SPACE / 2,
|
||||||
height: TREE_AVI_WIDTH,
|
height: TREE_AVI_WIDTH,
|
||||||
},
|
},
|
||||||
]}>
|
]}>
|
||||||
@@ -180,13 +180,13 @@ const ThreadItemTreePostInnerWrapper = memo(
|
|||||||
paddingTop: OUTER_SPACE / 2,
|
paddingTop: OUTER_SPACE / 2,
|
||||||
},
|
},
|
||||||
item.ui.indent === 1 && [
|
item.ui.indent === 1 && [
|
||||||
!item.ui.showParentReplyLine && {paddingTop: OUTER_SPACE},
|
!item.ui.showParentReplyLine && {paddingTop: OUTER_SPACE / 1.5},
|
||||||
!item.ui.showChildReplyLine && a.pb_sm,
|
!item.ui.showChildReplyLine && a.pb_sm,
|
||||||
],
|
],
|
||||||
item.ui.isLastChild &&
|
item.ui.isLastChild &&
|
||||||
!item.ui.precedesChildReadMore && [
|
!item.ui.precedesChildReadMore && [
|
||||||
{
|
{
|
||||||
paddingBottom: OUTER_SPACE,
|
paddingBottom: OUTER_SPACE / 2,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
]}>
|
]}>
|
||||||
@@ -417,7 +417,7 @@ export function ThreadItemTreePostSkeleton({index}: {index: number}) {
|
|||||||
return (
|
return (
|
||||||
<View
|
<View
|
||||||
style={[
|
style={[
|
||||||
{paddingHorizontal: OUTER_SPACE, paddingVertical: OUTER_SPACE},
|
{paddingHorizontal: OUTER_SPACE, paddingVertical: OUTER_SPACE / 1.5},
|
||||||
a.border_t,
|
a.border_t,
|
||||||
t.atoms.border_contrast_low,
|
t.atoms.border_contrast_low,
|
||||||
]}>
|
]}>
|
||||||
|
|||||||
Reference in New Issue
Block a user