]> Untitled Git - lemmy-ui.git/commitdiff
Fixing community link wrapping. Fixes #96
authorDessalines <tyhou13@gmx.com>
Fri, 8 Jan 2021 05:03:02 +0000 (00:03 -0500)
committerDessalines <tyhou13@gmx.com>
Fri, 8 Jan 2021 05:03:02 +0000 (00:03 -0500)
src/shared/components/main.tsx

index b84fe46362f3f7e2876280178918b11924232919..173fa0b96282ff6ef9992c384a31cb3e121cf1a0 100644 (file)
@@ -328,7 +328,7 @@ export class Main extends Component<any, MainState> {
         </h5>
         <ul class="list-inline">
           {this.state.trendingCommunities.map(cv => (
-            <li class="list-inline-item d-inline">
+            <li class="list-inline-item d-inline-block">
               <CommunityLink community={cv.community} />
             </li>
           ))}
@@ -350,7 +350,7 @@ export class Main extends Component<any, MainState> {
         </h5>
         <ul class="list-inline mb-0">
           {this.state.subscribedCommunities.map(cfv => (
-            <li class="list-inline-item d-inline">
+            <li class="list-inline-item d-inline-block">
               <CommunityLink community={cfv.community} />
             </li>
           ))}