From: Jay Sitter Date: Mon, 19 Jun 2023 15:26:29 +0000 (-0400) Subject: feat(post): Move post domain beneath post title (#1363) X-Git-Url: http://these/git/%7B%60https:/matrix.to?a=commitdiff_plain;h=94274a1e7fee63dd8a73e74e2e56a3517e3807d6;p=lemmy-ui.git feat(post): Move post domain beneath post title (#1363) * feat(post): Move post domain and preview button beneath post title * fix: Move the 'show body' button back to actions line; only show if there is something to show; add 'active' color * fix: Fix some margins --- diff --git a/src/assets/css/main.css b/src/assets/css/main.css index da3f7ff..f9aa1ff 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -84,10 +84,6 @@ margin-top: -6.5px; } -.post-title { - line-height: 1; -} - .post-title a:visited { color: var(--gray) !important; } diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 80da4b3..48d2dc6 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -367,10 +367,8 @@ export class PostListing extends Component { createdLine() { const post_view = this.postView; - const url = post_view.post.url; - const body = post_view.post.body; return ( -