Skip to content

Commit

Permalink
style: 작은 모바일 기기에서 GuestBookCard 깨지는 현상 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
toothlessdev committed Oct 30, 2024
1 parent e9cc6c8 commit 444a2ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/apps/styles/breakpoint.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const BREAKPOINT = {
TABLET: `@media screen and (min-width: 768px) and (max-width: 1024px)`,
MOBILE: `@media screen and (max-width: 767px)`,
MOBILE_SMALL: `@media screen and (max-width: 576px)`,
};
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ export const Container = styled.div`
${BREAKPOINT.MOBILE} {
grid-template-columns: repeat(2, 1fr);
}
${BREAKPOINT.MOBILE_SMALL} {
grid-template-columns: repeat(1, 1fr);
}
`;

0 comments on commit 444a2ba

Please sign in to comment.