Skip to content

Commit

Permalink
Style: 게시글 분리하는 라인 CSS 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
soulchicken committed Oct 19, 2023
1 parent 6f1830e commit 65c7089
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions src/components/community/postList/Post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { postDateParse } from '@/utils/services/date';
import FriendWrapper from '@/components/friends/friend/FriendWrapper';
import HeartIcon from '@/components/icons/HeartIcon';
import CommentIcon from '@/components/icons/CommentIcon';
import DivideLine from '@/components/common/divideLine/DivideLine';
import color from '@/styles/color';
import { css } from '@emotion/react';
import { FC } from 'react';
Expand Down Expand Up @@ -35,7 +34,9 @@ const Post: FC<PostStates> = ({ characterId, post }) => (
</li>
</ul>
</FriendWrapper>
<DivideLine />
<div css={lineContainerCSS}>
<div css={lineCSS} />
</div>
</>
);

Expand Down Expand Up @@ -70,3 +71,20 @@ const statusCSS = css`
font-weight: bold;
color: ${color.black};
`;

const lineContainerCSS = css`
display: flex;
justify-content: center;
align-items: center;
width: 100%;
color: ${color.lightGray};
font-size: 0.875rem;
`;

const lineCSS = css`
display: block;
margin: 0.625rem;
height: 1px;
background: ${color.lightGray};
width: 100%;
`;

0 comments on commit 65c7089

Please sign in to comment.