summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-08-23 23:58:26 -0700
committerDessalines <tyhou13@gmx.com>2019-08-23 23:58:26 -0700
commit2f52d0a14fbcaa5d063c4a9e676d4e79267d9997 (patch)
tree47b71d507d198066051e33b2f5d17c955ffe1dd1 /ui
parentb821f8e40c7ffa7da9cf8101ba16bd2013b3e31b (diff)
Fixing post listing rows.
Diffstat (limited to 'ui')
-rw-r--r--ui/src/components/post-listing.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx
index 883d8a53..0b9cc3e1 100644
--- a/ui/src/components/post-listing.tsx
+++ b/ui/src/components/post-listing.tsx
@@ -46,7 +46,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
render() {
return (
- <div class="row col-12">
+ <div class="row">
{!this.state.showEdit
? this.listing()
: <PostForm post={this.props.post} onEdit={this.handleEditPost} onCancel={this.handleEditCancel}/>
@@ -58,7 +58,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
listing() {
let post = this.props.post;
return (
- <div class="listing">
+ <div class="listing col-12">
<div className={`vote-bar mr-1 float-left small text-center ${this.props.viewOnly && 'no-click'}`}>
<button className={`btn btn-sm p-0 ${post.my_vote == 1 ? 'text-info' : 'text-muted'}`} onClick={linkEvent(this, this.handlePostLike)}>
<svg class="icon upvote"><use xlinkHref="#icon-arrow-up"></use></svg>