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

Commit

Permalink
style(comments): max width for comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwigoric committed Aug 2, 2023
1 parent 5222cef commit 55e4118
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/PostComment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ async function saveComment() {
:src="user['image']"
:alt="`${user['username']}'s image`"
/>
<div class="user-name">{{ user['username'] }}</div>
</div>
<div class="content">
<span class="user-name">{{ user['username'] }}</span>
<p v-if="!editFlag" class="body">{{ body }}</p>
<VForm v-else ref="form">
<VTextarea
Expand Down Expand Up @@ -303,6 +303,7 @@ async function saveComment() {
flex-direction: column;
text-align: center;
padding: 0.2rem;
margin-right: 1rem;
border-radius: 5px;
color: var(--color-bright-blue);
}
Expand Down Expand Up @@ -333,6 +334,8 @@ svg {
.content {
display: flex;
flex-flow: row;
flex-flow: row nowrap;
align-items: center;
max-width: 30rem;
}
</style>

0 comments on commit 55e4118

Please sign in to comment.