@@ -94,46 +94,40 @@ export default function EditInvitation() {
9494 : null
9595
9696 return (
97- < div className = "BG-white w-full max-w-584 overflow-x-auto whitespace-nowrap rounded-16 px-32 py-24" >
97+ < div className = "BG-white w-full max-w-584 overflow-x-auto rounded-16 px-32 py-24" >
9898 { /* Header + 초대 버튼 영역 (데스크탑용) */ }
99- < div className = "mb-16 flex flex-col gap-12 md:flex-row md:items-center md:justify-between" >
99+ < div className = "mb-20 flex items-center justify-between" >
100+ < h2 className = "Text-black text-18 font-bold mobile-sm:text-14" >
101+ 초대 내역
102+ </ h2 >
100103 < PaginationHeader
101104 currentPage = { currentPage }
102105 totalPages = { totalPages }
103- title = "초대 내역"
104106 onPrev = { handlePrev }
105107 onNext = { handleNext }
106108 />
107-
108- { /* 데스크탑에서만 보이는 초대 버튼 */ }
109- < button
110- onClick = { ( ) => openModal ( 'invite' ) }
111- className = "BG-violet mb-24 hidden w-fit shrink-0 items-center gap-8 self-end rounded-5 px-12 py-6 md:flex"
112- >
113- < div className = "relative flex size-12 shrink-0" >
114- < Image src = "/images/invitation-white.png" fill alt = "초대 버튼" />
115- </ div >
116- < p className = "text-14 text-white" > 초대하기</ p >
117- </ button >
118109 </ div >
119110
120111 { /* 이메일 입력 및 모바일 전용 버튼 */ }
121112 < form className = "overflow-x-auto" >
122- < div className = "mb-8 flex flex-row items-center justify-between gap-4 md:block" >
123- < label htmlFor = "title" className = "Text-black block text-16" >
113+ < div className = "mb-8 flex flex-row items-center justify-between gap-4" >
114+ < label
115+ htmlFor = "title"
116+ className = "Text-black block text-16 mobile-sm:text-12"
117+ >
124118 이메일
125119 </ label >
126120
127121 { /* 모바일/태블릿에서만 보이는 초대 버튼 */ }
128122 < button
129123 onClick = { ( ) => openModal ( 'invite' ) }
130124 type = "button"
131- className = "BG-violet mb-12 flex w-fit shrink-0 items-center gap-8 rounded-5 px-12 py-6 md:hidden "
125+ className = "BG-violet flex w-fit shrink-0 items-center gap-8 rounded-5 px-12 py-6"
132126 >
133127 < div className = "relative flex size-12 shrink-0" >
134128 < Image src = "/images/invitation-white.png" fill alt = "초대 버튼" />
135129 </ div >
136- < p className = "text-14 text-white" > 초대하기</ p >
130+ < p className = "text-14 text-white mobile-sm:text-12 " > 초대하기</ p >
137131 </ button >
138132 </ div >
139133
@@ -145,21 +139,20 @@ export default function EditInvitation() {
145139 < p className = "Text-blue py-12 text-center" > { errorMessage } </ p >
146140 ) }
147141 { ! isLoading &&
148- ! errorMessage &&
149142 currentItems . map ( ( member , index ) => {
150143 const isLast = index === currentItems . length - 1
151144 return (
152145 < div
153146 key = { member . id }
154147 className = { cn (
155- 'flex items-center justify-between gap-12 py-4 ' ,
148+ 'flex items-center justify-between gap-12 py-12 ' ,
156149 ! isLast && 'Border-bottom' ,
157150 ) }
158151 >
159152 < div className = "flex min-w-0 items-center gap-12" >
160153 < div className = "flex min-w-0 flex-col" >
161154 < Tooltip content = { member . invitee . nickname } >
162- < p className = "Text-black max-w-[200px] cursor-help truncate text-13" >
155+ < p className = "Text-black max-w-200 cursor-help truncate text-13" >
163156 { member . invitee . email }
164157 </ p >
165158 </ Tooltip >
@@ -169,7 +162,7 @@ export default function EditInvitation() {
169162 type = "button"
170163 disabled = { cancelMutation . isPending }
171164 className = { cn (
172- 'Text-btn Border-btn w-fit shrink-0 rounded-md px-16 py-2' ,
165+ 'Text-btn Border-btn w-fit shrink-0 rounded-md px-16 py-2 mobile-sm:text-12 ' ,
173166 cancelMutation . isPending &&
174167 'cursor-not-allowed opacity-50' ,
175168 ) }
0 commit comments