Skip to content

Commit 841ceee

Browse files
authored
Merge pull request #408 from GTable/fix/admin/qa
fix: 부스 관리 페이지 반응형 롤백 & 배너이미지 반응형 반영
2 parents cf31ffc + cffae05 commit 841ceee

File tree

6 files changed

+12
-10
lines changed

6 files changed

+12
-10
lines changed

apps/nowait-admin/src/pages/AdminBooth/AdminBooth.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ const BoothForm = () => {
310310
isTablet ? "px-[100px] py-[20px]" : "px-[20px] py-[20px]"
311311
}`}
312312
>
313-
<div className="w-full mx-auto">
313+
<div className="max-w-[614px] w-full mx-auto">
314314
{/* 탭 */}
315315
<div className="flex w-full gap-2">
316316
<button

apps/nowait-admin/src/pages/AdminBooth/components/AccountPage.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,13 +298,15 @@ const AccountPage = () => {
298298
<img
299299
src={banner}
300300
alt="배너"
301-
className="w-full"
301+
className="block w-full h-auto"
302+
loading="lazy"
303+
decoding="async"
302304
onClick={() => navigate("guides")}
303305
/>
304306
</div>
305307

306308
{/* QR Code Section */}
307-
<section className="w-full">
309+
<section>
308310
<h2 className="flex items-center text-navy-80 text-18-bold gap-[6px]">
309311
간편 송금 QR코드 <RedBadge label="필수" small={true} />
310312
</h2>
@@ -335,7 +337,7 @@ const AccountPage = () => {
335337
<span className="text-14-semibold">{option.name}</span>
336338
)}
337339
</div>
338-
<div className="flex justify-between h-[52px] w-full min-w-[236px] items-center bg-black-5 rounded-xl border border-[#dddddd] pl-4 pr-[10px] py-4">
340+
<div className="flex justify-between h-[52px] w-[474px] min-w-[236px] items-center bg-black-5 rounded-xl border border-[#dddddd] pl-4 pr-[10px] py-4">
339341
<div className={`flex flex-col w-[79%] w-overflow-scroll`}>
340342
<div className="relative w-full">
341343
<input

apps/nowait-admin/src/pages/AdminBooth/components/BoothSection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const BoothSection = ({
7373

7474
return (
7575
<>
76-
<div className="flex flex-col items-center pb-[50px] w-full ">
76+
<div className="flex flex-col items-center pb-[50px] max-w-[614px]">
7777
<div className="flex justify-between items-center w-full my-[40px]">
7878
{/* 좌측 타이틀 */}
7979
<h2 className="text-headline-22-bold text-black-80">부스 프로필</h2>
@@ -171,7 +171,7 @@ const BoothSection = ({
171171
</div>
172172

173173
{/* 부스 소개 */}
174-
<div className="flex flex-col mb-[50px] relative w-full">
174+
<div className="flex flex-col mb-[50px] relative max-w-[614px]">
175175
<label
176176
className={`block text-title-18-bold text-black-80 ${
177177
isMobile ? "mb-[14px]" : ""
@@ -201,7 +201,7 @@ const BoothSection = ({
201201
</div>
202202

203203
{/* 배너 이미지 */}
204-
<div className="flex flex-col mb-[50px] w-full">
204+
<div className="flex flex-col mb-[50px] max-w-[614px]">
205205
<label
206206
className={`block text-title-18-bold text-black-80 ${
207207
isMobile ? "mb-[6px]" : ""

apps/nowait-admin/src/pages/AdminBooth/components/MenuSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ const MenuSection = ({ isTablet }: { isTablet: boolean }) => {
235235
}, [fetchedMenus]);
236236

237237
return (
238-
<div className="mt-[40px] mb-[20px] w-full">
238+
<div className="mt-[40px] mb-[20px] max-w-[614px]">
239239
<div className="flex justify-between items-center mb-[20px]">
240240
<h2 className="text-headline-22-bold">메뉴</h2>
241241
<div className="flex gap-[10px]">

apps/nowait-admin/src/pages/AdminBooth/components/NoticeEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const NoticeEditor = ({
128128
}, [notice, editor]);
129129

130130
return (
131-
<div className="w-full bg-white border border-[#DDDDDD] rounded-xl w-full">
131+
<div className="w-full bg-white border border-[#DDDDDD] rounded-xl max-w-[614px]">
132132
<input
133133
type="text"
134134
value={noticeTitle}

apps/nowait-admin/src/pages/AdminBooth/components/OperatingTimeSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const OperatingTimeSelector = ({
6161
isMobile: boolean;
6262
}) => {
6363
return (
64-
<div className="mb-[50px] w-full">
64+
<div className="mb-[50px] max-w-[614px]">
6565
<label className="block text-title-18-bold text-black-80 mb-1">
6666
운영 시간
6767
</label>

0 commit comments

Comments
 (0)