]> Untitled Git - lemmy-ui.git/commitdiff
Fixing issue with offset post body and metadata card. Fixes #544
authorDessalines <tyhou13@gmx.com>
Wed, 12 Jan 2022 14:42:14 +0000 (09:42 -0500)
committerDessalines <tyhou13@gmx.com>
Wed, 12 Jan 2022 14:42:14 +0000 (09:42 -0500)
src/shared/components/post/metadata-card.tsx
src/shared/components/post/post-listing.tsx

index f529e3ef1d2518e082b88abc640aa1e79772f4c7..85fcdb672556f07e91c611de3ad2d28845c49e0c 100644 (file)
@@ -29,7 +29,7 @@ export class MetadataCard extends Component<
     return (
       <>
         {post.embed_title && !this.state.expanded && (
-          <div class="card border-secondary mt-3 mb-2 offset-sm-3">
+          <div class="card border-secondary mt-3 mb-2">
             <div class="row">
               <div class="col-12">
                 <div class="card-body">
index a2b3469e18b88376ee2805924e1c75e3ed263a75..bf90cb26383208cb7fd033f37700f384cb874a3d 100644 (file)
@@ -161,7 +161,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
   body() {
     let post = this.props.post_view.post;
     return (
-      <div class="col-12 col-sm-9 offset-sm-3 card my-2 p-2">
+      <div class="col-12 card my-2 p-2">
         {this.state.viewSource ? (
           <pre>{post.body}</pre>
         ) : (