Skip to content

Commit

Permalink
design: (#123) 게시글 내 정보(제목, 작성자 등)간 간격 넓히기
Browse files Browse the repository at this point in the history
  • Loading branch information
chsua committed Jul 25, 2023
1 parent 295d617 commit 8b844e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/components/common/Post/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ import { styled } from 'styled-components';
import { theme } from '@styles/theme';

export const Container = styled.li`
display: flex;
flex-direction: column;
gap: 10px;
font: var(--text-small);
letter-spacing: 0.5px;
line-height: 1.5;
Expand Down Expand Up @@ -79,5 +75,9 @@ export const Content = styled.p<{ $isPreview: boolean }>`
`;

export const DetailLink = styled(Link)<{ $isPreview: boolean }>`
display: flex;
flex-direction: column;
gap: 10px;
pointer-events: ${({ $isPreview }) => !$isPreview && 'none'};
`;

0 comments on commit 8b844e9

Please sign in to comment.