]> Untitled Git - lemmy-ui.git/commitdiff
fix: Break text on post titles so long words don't overflow
authorJay Sitter <jay@jaysitter.com>
Mon, 3 Jul 2023 00:20:08 +0000 (20:20 -0400)
committerJay Sitter <jay@jaysitter.com>
Mon, 3 Jul 2023 00:20:08 +0000 (20:20 -0400)
src/shared/components/post/post-listing.tsx

index 654f92dceb05518eb7315195965f1f24aa3794de..9bb416afeeefb06fcb6be1a8ff68e58ef14ce1f7 100644 (file)
@@ -477,8 +477,8 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
 
     return (
       <>
-        <div className="post-title overflow-hidden">
-          <h5 className="d-inline">
+        <div className="post-title">
+          <h5 className="d-inline text-break">
             {url && this.props.showBody ? (
               <a
                 className={