]> Untitled Git - lemmy-ui.git/commitdiff
fix: Fix image/title wrapping on small
authorJay Sitter <jay@jaysitter.com>
Mon, 26 Jun 2023 00:06:34 +0000 (20:06 -0400)
committerJay Sitter <jay@jaysitter.com>
Mon, 26 Jun 2023 00:06:34 +0000 (20:06 -0400)
src/shared/components/post/post-listing.tsx

index 4e17fa2153fe8cd8aa2307768329b006c660c88a..d25e59bec2b1e8311d107859ddfe108d00bc839f 100644 (file)
@@ -1407,7 +1407,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
         <div className="d-none d-sm-block">
           <article className="row post-container">
             {!this.props.viewOnly && (
-              <div className="col-auto">
+              <div className="col flex-grow-0">
                 <VoteButtons
                   voteContentType={VoteContentType.Post}
                   id={this.postView.post.id}
@@ -1418,7 +1418,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
                 />
               </div>
             )}
-            <div className="col-sm-10">
+            <div className="col flex-grow-1">
               <div className="row">
                 <div className="col-sm-3 col-lg-2 pe-0 post-media">
                   <div className="">{this.thumbnail()}</div>