Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
style: change comment input fields' variant
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwigoric committed Aug 4, 2023
1 parent b5aed62 commit 28ce073
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/PostComment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ async function saveComment() {
<VForm v-else ref="form">
<VTextarea
class="new-reply-input"
variant="solo-filled"
auto-grow="auto-grow"
v-model="newComment"
placeholder="Enter a new comment..."
:rules="commentRules"
Expand Down Expand Up @@ -200,6 +202,9 @@ async function saveComment() {
placeholder="Reply to this comment..."
class="new-reply-input"
active="true"
variant="solo-filled"
auto-grow="auto-grow"
clearable="clearable"
v-if="loggedInStore.username && id === currentCommentStore.currentComment"
v-model="newReplyBody"
no-resize=""
Expand Down
5 changes: 4 additions & 1 deletion src/views/PostView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ watch(
placeholder="Add a comment..."
id="new-comment-body"
active="true"
no-resize
no-resize="no-resize"
variant="solo-filled"
auto-grow="auto-grow"
clearable="clearable"
:rules="commentRules"
rows="1"
v-model="newCommentBody"
Expand Down

0 comments on commit 28ce073

Please sign in to comment.