]> Untitled Git - lemmy-ui.git/commitdiff
Merge pull request #1771 from jsit/fix/fix-long-words-in-titles-overflow
authorSleeplessOne1917 <abias1122@gmail.com>
Mon, 3 Jul 2023 21:30:32 +0000 (21:30 +0000)
committerGitHub <noreply@github.com>
Mon, 3 Jul 2023 21:30:32 +0000 (21:30 +0000)
fix: Break text on post titles so long words don't overflow

src/shared/components/post/post-listing.tsx

index 84851de90262da51c8bb60b29c92b4e387215a1d..5dcff2fce1407ddb4a8e4f0673ca2ac990283e58 100644 (file)
@@ -465,8 +465,8 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
 
     return (
       <>
-        <div className="post-title overflow-hidden">
-          <h1 className="h5 d-inline">
+        <div className="post-title">
+          <h1 className="h5 d-inline text-break">
             {url && this.props.showBody ? (
               <a
                 className={