Skip to content

Commit

Permalink
Merge pull request #243 from BCSDLab/feature/#242-responsive-view
Browse files Browse the repository at this point in the history
[영양사] 반응형으로 다양한 기기 대응
  • Loading branch information
MinGu-Jeong authored Apr 12, 2024
2 parents dc64235 + f38a7d7 commit f716703
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/page/Coop/Coop.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
height: 100%;
font-family: Pretendard, sans-serif;

@media screen and (max-width: 375px) {
@media screen and (max-width: 400px) {
width: 100%;
}
}
Expand Down
12 changes: 12 additions & 0 deletions src/page/Coop/components/MenuCard/MenuCard.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@
font-weight: 400;
line-height: 15px;
width: 150px;

&--none {
font-size: 16px;

@media screen and (max-width: 350px) {
font-size: 14px;
}
}
}

&__image {
Expand Down Expand Up @@ -95,6 +103,10 @@
padding: 12px;
gap: 40px;
min-height: 120px;

@media screen and (max-width: 350px) {
gap: 10px;
}
}

&__soldout {
Expand Down
2 changes: 1 addition & 1 deletion src/page/Coop/components/MenuCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export default function MenuCard({ selectedMenuType }: MenuCardProps) {
</div>
</>
) : (
<div>
<div className={styles['card__content--none']}>
{corner}
에서 제공하는 식단 정보가 없습니다.
</div>
Expand Down

0 comments on commit f716703

Please sign in to comment.