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

Commit

Permalink
Fix: Adapt comment for longer texts
Browse files Browse the repository at this point in the history
  • Loading branch information
maxschwinghammer committed Jun 11, 2024
1 parent d903d6b commit f48a646
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/main/web/src/organisms/comment/Comment.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
display: flex;
flex-direction: row;
gap: 20px;
align-items: center;
}

.comment-text, .comment-author-date {
Expand Down
4 changes: 1 addition & 3 deletions src/main/web/src/organisms/comment/Comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ export const Comment: React.FC<CommentProps> = (props: CommentProps) => {
</Link>
<div className="comment-author-date">{formattedTime}</div>
</div>
<div className="comment-text-wrapper">
<div className="comment-text">{text}</div>
</div>
<div className="comment-text">{text}</div>
</div>

<div className="comment-interaction">
Expand Down

0 comments on commit f48a646

Please sign in to comment.