Skip to content

Commit 9bc3ada

Browse files
authored
Merge pull request #178 from D3vPals/feat/#177
fix: 모바일 검색창 너비 조정, 새싹모집 클릭시 카드너비 변동 수정
2 parents c8690c5 + 94a0f65 commit 9bc3ada

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

src/components/common/skillTagBox/skillTag/skillTagImg/SkillTagImg.styled.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ export const SkillImg = styled.img<Pick<SkillTagImgProps, '$select'>>`
1717
}
1818
1919
@media screen and ${({ theme }) => theme.mediaQuery.mobile} {
20-
width: 1.8rem;
20+
width: 1.5rem;
2121
}
2222
`;

src/components/home/projectCardLists/ProjectCardLists.styled.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const Wrapper = styled.div<{ $flex: boolean }>`
2323
width: 100%;
2424
display: ${({ $flex }) => ($flex ? 'flex' : 'grid')};
2525
grid-template-columns: ${({ $flex }) =>
26-
$flex ? '' : 'repeat(auto-fit, minmax(30%, auto))'};
26+
$flex ? '' : 'repeat(auto-fit, minmax(30%, 1fr))'};
2727
place-items: ${({ $flex }) => ($flex ? '' : 'center')};
2828
/* justify-content: space-evenly; */
2929
gap: 3rem;
@@ -34,14 +34,14 @@ export const Wrapper = styled.div<{ $flex: boolean }>`
3434
3535
@media screen and ${({ theme }) => theme.mediaQuery.tablet} {
3636
grid-template-columns: ${({ $flex }) =>
37-
$flex ? '' : 'repeat(auto-fit, minmax(40%, auto))'};
37+
$flex ? '' : 'repeat(auto-fit, minmax(40%, 1fr))'};
3838
gap: 2rem;
3939
}
4040
4141
@media screen and ${({ theme }) => theme.mediaQuery.mobile} {
4242
width: 100%;
4343
grid-template-columns: ${({ $flex }) =>
44-
$flex ? '' : 'repeat(auto-fit, minmax(50%, auto))'};
44+
$flex ? '' : 'repeat(auto-fit, minmax(50%, 1fr))'};
4545
gap: 1rem;
4646
}
4747
`;

src/components/home/searchFiltering/filteringContents/FilteringContents.styled.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const Container = styled.div`
2222
2323
@media screen and ${({ theme }) => theme.mediaQuery.mobile} {
2424
display: grid;
25-
grid-template-columns: repeat(auto-fill, minmax(45%, auto));
25+
grid-template-columns: repeat(auto-fit, minmax(45%, auto));
2626
gap: 0.5rem;
2727
> * {
2828
width: 100%;

src/components/home/searchFiltering/filteringContents/filtering/Filtering.styled.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,16 @@ export const SelectWrapper = styled.div`
4444
export const SelectButton = styled.button`
4545
width: 100%;
4646
display: block;
47-
font-size: 01rem;
47+
font-size: 1rem;
4848
text-align: initial;
4949
padding: 0.5rem;
5050
5151
&:hover {
5252
background-color: ${({ theme }) => theme.color.navy};
5353
color: ${({ theme }) => theme.color.white};
5454
}
55+
56+
@media screen and ${({ theme }) => theme.mediaQuery.mobile} {
57+
font-size: 0.9rem;
58+
}
5559
`;

src/components/home/searchFiltering/search/Search.styled.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export const Container = styled.div`
1414
1515
@media screen and ${({ theme }) => theme.mediaQuery.mobile} {
1616
padding: 0.4rem 0;
17+
width: 100%;
1718
}
1819
`;
1920

0 commit comments

Comments
 (0)