Skip to content

Commit

Permalink
#227 design: 반응형 적용시 타이틀 가운데 정렬
Browse files Browse the repository at this point in the history
  • Loading branch information
misung-dev committed Sep 4, 2024
1 parent 9d7a78b commit 28d2358
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Modal/Modal.style.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const ModalLayout = styled.div`
background-color: #ffffff;
@media (max-width: ${BREAKPOINTS[1]}px) {
width: 600px;
width: 500px;
}
@media (max-width: ${BREAKPOINTS[0]}px) {
width: 300px;
Expand All @@ -46,7 +46,9 @@ export const Title = styled.h1`
font-size: 32px;
font-weight: 600;
color: var(--blue-0, #2f7cef);
line-height: 1.2;
word-break: keep-all;
text-align: center;
@media (max-width: ${BREAKPOINTS[1]}px) {
font-size: 28px;
Expand All @@ -68,7 +70,7 @@ export const ContentContainer = styled.div`
gap: 20px;
}
@media (max-width: ${BREAKPOINTS[0]}px) {
gap: 10px;
gap: 14px;
}
`;

Expand Down

0 comments on commit 28d2358

Please sign in to comment.