Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions fe/src/app/eventcreate-page/components/EventNameInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,21 @@ function EventNameInput({
<button
type="button"
onClick={handleClear}
className="w-5 h-5 cursor-pointer"
className="relative flex justify-center items-center"
style={{
width: "18px",
height: "18px",
minWidth: "18px",
minHeight: "18px",
}}
aria-label="이름 삭제"
>
<Image
src="/svg/delete.svg"
alt="삭제 아이콘"
width={24}
height={24}
width={18}
height={18}
className="object-contain"
/>
</button>
)}
Expand Down
4 changes: 2 additions & 2 deletions fe/src/app/eventcreate-page/components/LocationInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ function LocationInput({
<Image
src="/images/Search.svg"
alt="돋보기 아이콘"
width={24}
height={24}
width={20}
height={20}
className="mr-3"
/>
<input
Expand Down
4 changes: 2 additions & 2 deletions fe/src/app/eventcreate-page/components/SearchResultsItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ function SearchResultItem({
<Image
src="/svg/LocationPin.svg"
alt="위치 핀"
width={24}
height={24}
width={18}
height={22}
/>
</div>
<div className="text-base font-medium font-['Pretendard'] text-gray-800 leading-none truncate pt-1">
Expand Down
10 changes: 4 additions & 6 deletions fe/src/app/eventcreate-page/location-search/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ function LocationSearch() {
return (
<div className="flex flex-col items-center">
<header className="fixed top-0 left-1/2 transform -translate-x-1/2 w-[360px] h-[56px] bg-white flex items-center px-4 z-10">
{/* 뒤로가기 버튼 */}
<div className="flex items-center">
<button
type="button"
Expand All @@ -103,7 +102,7 @@ function LocationSearch() {
height: "24px",
minWidth: "24px",
minHeight: "24px",
}} // 크기 고정
}}
>
<Image
src="/images/ArrowBack.svg"
Expand All @@ -115,15 +114,14 @@ function LocationSearch() {
</button>
</div>

{/* 입력 폼 */}
<div className="flex items-center w-full h-[48px] px-4 bg-[#f7f7f7] rounded-lg ml-2">
<div className="flex items-center w-[292px] h-[48px] px-4 bg-[#f7f7f7] rounded-lg ml-2">
<input
type="text"
ref={inputRef}
value={location}
onChange={handleSearch}
placeholder="장소를 입력해주세요"
className="bg-transparent border-none flex-grow text-[#2c2c2c] text-base font-medium font-['Pretendard'] leading-normal outline-none"
className="bg-transparent border-none w-full text-[#2c2c2c] text-base font-medium font-['Pretendard'] leading-normal outline-none"
/>
{location && (
<div
Expand All @@ -135,7 +133,7 @@ function LocationSearch() {
height: "18px",
minWidth: "18px",
minHeight: "18px",
}} // 삭제 버튼 크기 고정
}}
onClick={handleClearLocation}
onKeyDown={(e) => {
if (e.key === "Enter") handleClearLocation();
Expand Down