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

Commit

Permalink
style(comments): adjust spacing again
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwigoric committed Aug 6, 2023
1 parent 663e388 commit 067ed02
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/components/PostComment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ async function saveComment() {
</script>

<template>
<div class="comment pl-1">
<div class="main-comment mb-2" @click="onclick(id)">
<div class="comment ml-4">
<div class="main-comment" @click="onclick(id)">
<div class="existing-comment" v-if="!comments.some((cm) => cm.id === id && cm.deleted)">
<div class="header mx-3 mt-2">
<img
Expand Down Expand Up @@ -199,6 +199,12 @@ async function saveComment() {
</VList>
</VMenu>
</div>
<VExpandTransition>
<VSpacer
class="reply-input-spacer"
v-if="loggedInStore.username && id === currentCommentStore.currentComment"
></VSpacer>
</VExpandTransition>
<VExpandTransition>
<VTextarea
placeholder="Reply to this comment..."
Expand Down Expand Up @@ -243,7 +249,6 @@ async function saveComment() {
align-self: stretch;
justify-content: flex-start;
height: 100%;
margin-left: 13px;
background-color: var(--color-background-soft);
border-left: var(--color-border) solid 3px;
}
Expand Down Expand Up @@ -330,6 +335,10 @@ async function saveComment() {
background-color: var(--color-background-soft);
}
.reply-input-spacer {
height: 0.5rem;
}
.new-reply-input {
width: 100%;
border: none;
Expand Down

0 comments on commit 067ed02

Please sign in to comment.