Skip to content

Commit

Permalink
fix: hide comments on premium posts and reduce font size (#1149)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldmweb authored Aug 23, 2022
1 parent 8734e4f commit 3578c4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/post/Comment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</div>
</div>
<!-- Text comment -->
<p class="break-words w-4/5 py-1 mb-6 font-sans text-lg leading-relaxed dark:text-darkPrimaryText">
<p class="break-words w-4/5 py-1 mb-6 font-sans leading-relaxed dark:text-darkPrimaryText">
<span style="white-space: pre-line">{{ content }}</span>
</p>

Expand Down
3 changes: 2 additions & 1 deletion src/pages/post/_post.vue
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,11 @@
:authorBio="author ? author.bio : ``"
:isFollowed="userIsFollowed"
:toggleFriend="toggleFriend"
:class="showPaywall ? `mb-10` : ``"
/>

<!-- Comments -->
<article v-if="post !== null" class="pt-5 pb-14">
<article v-if="post !== null && !showPaywall" class="pt-5 pb-14">
<!-- Choose reaction -->
<div class="flex flex-row justify-between">
<div class="flex items-center">
Expand Down

0 comments on commit 3578c4e

Please sign in to comment.