]> Untitled Git - lemmy.git/commitdiff
more styles.
authorDessalines <tyhou13@gmx.com>
Sun, 18 Aug 2019 05:00:11 +0000 (22:00 -0700)
committerDessalines <tyhou13@gmx.com>
Sun, 18 Aug 2019 05:00:11 +0000 (22:00 -0700)
ui/src/components/main.tsx
ui/src/components/post-listing.tsx

index 91d56cc0c2ced0f09b09f2e51f6587afe45d4ed6..a21be2504e1a3dff856b3d814c40129165e31a55 100644 (file)
@@ -315,7 +315,7 @@ export class Main extends Component<any, MainState> {
 
   paginator() {
     return (
-      <div class="mt-2">
+      <div class="my-2">
         {this.state.page > 1 && 
           <button class="btn btn-sm btn-secondary mr-1" onClick={linkEvent(this, this.prevPage)}><T i18nKey="prev">#</T></button>
         }
index 4bc07a04f3ed3f6c38e081fe0bc09580b8a377b0..d1acc46a61554a7209ed6f05a063ee655ac211ba 100644 (file)
@@ -46,7 +46,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
 
   render() {
     return (
-      <div>
+      <div class="row col-12">
         {!this.state.showEdit 
           ? this.listing()
           : <PostForm post={this.props.post} onEdit={this.handleEditPost} onCancel={this.handleEditCancel}/>