Skip to content

Commit

Permalink
design: (#54) 그래프 공통 스타일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chsua committed Jul 17, 2023
1 parent ea88e1a commit 757ef4f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/src/components/VoteResult/GraphStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ export const GraphContainer = styled.div<{ $size: Size }>`
display: flex;
height: ${props => (props.$size === 'sm' ? '200px' : props.$size === 'md' ? '230px' : '260px')};
border: 1px solid red;
font-size: 1.2rem;
position: relative;
font-size: 1.2rem;
@media (min-width: 576px) {
font-size: 1.4rem;
}
Expand All @@ -20,6 +19,6 @@ export const GraphContainer = styled.div<{ $size: Size }>`
export const Line = styled.div<{ $size: Size }>`
border-bottom: 2px solid black;
position: absolute;
top: ${props => (props.$size === 'sm' ? '163px' : props.$size === 'md' ? '193px' : '223px')};
top: ${props => (props.$size === 'sm' ? '165px' : props.$size === 'md' ? '194px' : '224px')};
width: 100%;
`;

0 comments on commit 757ef4f

Please sign in to comment.