From 3efa4a7f630ac45c5cdd182db225a878f9b90b9d Mon Sep 17 00:00:00 2001
From: Lee jin <83453646+j-nary@users.noreply.github.com>
Date: Sun, 29 Sep 2024 22:59:42 +0900
Subject: [PATCH] =?UTF-8?q?=08=EB=AA=A8=EC=A7=91=20=EB=8C=80=EC=83=81,=20?=
=?UTF-8?q?=EB=AA=A8=EC=9E=84=EC=9E=A5=20=EC=86=8C=EA=B0=9C=20=EB=AA=A8?=
=?UTF-8?q?=EB=B0=94=EC=9D=BC=20=EB=B0=98=EC=9D=91=ED=98=95=20+=20?=
=?UTF-8?q?=EB=AA=A8=EC=9E=84=20=EC=88=98=EC=A0=95=20=EB=B0=B0=EA=B2=BD?=
=?UTF-8?q?=EC=83=89=20=EB=B3=80=EA=B2=BD=20(#894)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* design: 모임 수정하기 배경색 변경
* fix: 모집 대상 모바일 반응형
* fix: 모임장 소개 모바일 반응형
---
pages/edit/index.tsx | 1 -
src/components/form/Presentation/index.tsx | 115 +++++++++------------
2 files changed, 47 insertions(+), 69 deletions(-)
diff --git a/pages/edit/index.tsx b/pages/edit/index.tsx
index a4ae6931..c6a000d4 100644
--- a/pages/edit/index.tsx
+++ b/pages/edit/index.tsx
@@ -152,7 +152,6 @@ const SContainer = styled('div', {
const SFormContainer = styled('div', {
width: '100%',
padding: '44px 40px 56px',
- background: '$gray800',
borderRadius: '15px',
'@tablet': {
diff --git a/src/components/form/Presentation/index.tsx b/src/components/form/Presentation/index.tsx
index 3fc51587..52642d8d 100644
--- a/src/components/form/Presentation/index.tsx
+++ b/src/components/form/Presentation/index.tsx
@@ -310,20 +310,6 @@ function Presentation({
모집 대상
- (
- onChange(!value)}>
- {value ? (
-
- ) : (
-
- )}
- 활동 기수만
-
- )}
- >
모임장을 제외한 인원 수를 입력해주세요
-
- (
-
- )}
- >
-
- {/* 모집 인원 */}
+
+ (
+
+ )}
+ >
+
+ {/* 모집 인원 */}
+
)}
>
-
- >
+
+
);
}}
>
@@ -396,32 +382,31 @@ function Presentation({
{/* 모집 정보 끝 */}
+ {/* 추가 정보 - 모임장 소개 */}
4. 추가 정보
-
멘토가 필요하다면 '멘토 구해요'를 체크해주세요
-
-
- }
- >
-
+
+ 멘토가 필요하다면 '멘토 구해요'를 체크해주세요
(
-
- )}
+ name="detail.isMentorNeeded"
+ defaultValue={false}
+ render={({ field }) => }
>
-
+
+
(
+
+ )}
+ >
{/* 추가 정보 - 유의사항 */}
@@ -497,9 +482,13 @@ const SApplicationField = styled('div', {
const SDateFieldWrapper = styled(SApplicationFieldWrapper);
const SDateField = styled(SApplicationField);
const SNeedMentorFieldWrapper = styled('div', {
- position: 'absolute',
- transform: 'translateY(-120%)',
- right: 6,
+ display: 'flex',
+ justifyContent: 'space-between',
+
+ '@media(max-width: 385px)': {
+ flexDirection: 'column',
+ marginBottom: '$18',
+ },
});
const STargetFieldWrapper = styled('div', {
display: 'flex',
@@ -510,7 +499,15 @@ const STargetFieldWrapper = styled('div', {
'@tablet': {
height: '48px',
},
+
+ '@media(max-width: 525px)': {
+ flexDirection: 'column',
+ alignItems: 'flex-start',
+
+ marginBottom: '52px',
+ },
});
+
const ButtonContainer = styled('div', {
display: 'flex',
gap: '20px',
@@ -586,6 +583,7 @@ const SFormCheckBox = styled('div', {
...fontsObject.BODY_3_14_R,
display: 'flex',
alignItems: 'center',
+ marginLeft: '$16',
color: '$gray300',
variants: {
active: {
@@ -593,25 +591,6 @@ const SFormCheckBox = styled('div', {
},
},
cursor: 'pointer',
- '@media(max-width: 385px)': {
- display: 'none',
- },
-});
-
-const SMobileFormCheckBox = styled('div', {
- ...fontsObject.BODY_3_14_R,
- display: 'none',
- alignItems: 'center',
- color: '$gray300',
- variants: {
- active: {
- true: { color: '$gray10' },
- },
- },
- cursor: 'pointer',
- '@media(max-width: 385px)': {
- display: 'flex',
- },
});
const SLabelWrapper = styled('div', {