Skip to content

Commit 27a1058

Browse files
committed
fix: adjust Comment component styles for better layout and appearance
1 parent 1a0b194 commit 27a1058

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/components/Comment/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ const Comment: React.FC<IComment> = ({
6969
<S.CommentInfos>
7070
<S.CommentTitle>
7171
<S.UserName>{listComment.user.name}</S.UserName>
72+
7273
<S.Separator />
7374
<S.Date>22/01/2024</S.Date>
7475
</S.CommentTitle>

src/components/Comment/styles.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ export const CommentTitle = styled.div`
4747

4848
export const UserName = styled.span`
4949
font-weight: bold;
50-
5150
color: ${({ theme }) => theme.colors.primary};
5251
`;
5352

@@ -58,8 +57,9 @@ export const Date = styled.span`
5857
`;
5958

6059
export const Separator = styled.div`
61-
width: 6px;
62-
height: 2px;
60+
width: 3px;
61+
height: 3px;
62+
border-radius: 50%;
6363
background-color: ${({ theme }) => theme.colors.primary};
6464
margin: 0 8px;
6565
`;

0 commit comments

Comments
 (0)