diff --git a/src/components/postListItem/view/postListItemStyles.js b/src/components/postListItem/view/postListItemStyles.js index 2d5619e89..cc2368da2 100644 --- a/src/components/postListItem/view/postListItemStyles.js +++ b/src/components/postListItem/view/postListItemStyles.js @@ -22,15 +22,20 @@ export default EStyleSheet.create({ width: '$deviceWidth - 16', borderRadius: 8, backgroundColor: '$primaryLightGray', + // paddingVertical: 10, + marginVertical: 5, }, postDescripton: { flexDirection: 'column', paddingHorizontal: 8, - paddingVertical: 16, + // paddingVertical: 16, backgroundColor: '$primaryBackgroundColor', + marginTop: 5, + marginBottom: 10, }, title: { fontSize: 16, + marginBottom: 7, fontWeight: 'bold', color: '$primaryBlack', }, @@ -41,12 +46,13 @@ export default EStyleSheet.create({ header: { backgroundColor: '$primaryBackgroundColor', flexDirection: 'row', + flex: 1, marginTop: 16, marginHorizontal: 12, marginBottom: 12, }, rightItem: { - // position: 'absolute', - // right: -10, + position: 'absolute', + right: 0, }, }); diff --git a/src/components/postListItem/view/postListItemView.js b/src/components/postListItem/view/postListItemView.js index f81c8302d..4fe71a00f 100644 --- a/src/components/postListItem/view/postListItemView.js +++ b/src/components/postListItem/view/postListItemView.js @@ -7,7 +7,7 @@ import { getTimeFromNow } from '../../../utils/time'; // Constants // Components - +import { IconButton } from '../../iconButton'; // Defaults import DEFAULT_IMAGE from '../../../assets/no_image.png'; @@ -44,12 +44,17 @@ class PostListItemView extends Component { size={32} tag={mainTag} /> - - icon - + - + {title}