Skip to content

Commit

Permalink
Fix/remove padding (#102)
Browse files Browse the repository at this point in the history
* [refactor] Update exit modal functionality and improve data handling

* [fix] implement feedback

* [chore] enhance event name input utility

* [chore] enhance event name input utility

* Add event name feature

* [fix] ์Šคํƒ€์ผ ๊ณ ์ • - ์™ผ์ชฝ ๋ฒฝ ๊ฐ„๊ฒฉ 16px ๊ณ ์ •

* [fix] Remove unnecessary padding and margin for the navigation and content areas

* [fix] build error
  • Loading branch information
karnelll authored Nov 28, 2024
1 parent 1ba148e commit 297bd9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,10 @@ export default function LinkEditPage() {
};

const handleBack = () => {
setShowExitModal(true); // ExitModal์„ ํ‘œ์‹œ
setShowExitModal(true);
};

const handleExitConfirm = () => {
// ๋ฐ์ดํ„ฐ ์‚ญ์ œ ํ›„ ๋’ค๋กœ๊ฐ€๊ธฐ
localStorage.removeItem("userData");
localStorage.removeItem("formData");
router.push(`/event-maps/${id}`);
Expand All @@ -121,14 +120,14 @@ export default function LinkEditPage() {
<Navigation onBack={handleBack} />

<div
className="flex-1 px-4 mt-[75px] overflow-y-auto"
className="flex-1 px-4 mt-[56px] overflow-y-auto"
style={{
maxHeight: "calc(100vh - 60px)",
paddingBottom: "120px",
}}
>
{userName && (
<div className="text-darkGray text-title-md">
<div className="text-darkGray mt-[16px] text-title-md">
{userName}๋‹˜์˜ ๋งตํ•€ ๋ชจ์Œ์ด์—์š”
</div>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ export default function LinksPage() {
/>
</div>

{/* ๋ฐ”ํ…€ ์‹œํŠธ */}
<BottomSheet />
</div>
);
Expand Down

0 comments on commit 297bd9d

Please sign in to comment.