Skip to content

Commit 4e8a681

Browse files
authored
Merge pull request #329 from Podo-Store/fix/bug-plot-scroll
fix: 작품 상세 페이지 줄거리 스크롤 위치 수정
2 parents cecca1a + 71dc5bc commit 4e8a681

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

src/pages/myPage/PostManage/PostManageDetail.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,20 +317,20 @@ const PostManageDetail: React.FC = () => {
317317
className="placeholder:text-[rgba(0,0,0,0.17)] "
318318
fontMode={isSmallMobile ? "xs" : "default"}
319319
/>
320-
<div className="absolute rounded-tl-[5px] rounded-br-[5px] border-r-[0.5px] border-b-[0.5px] border-[#BABABA] bg-[#F5F0FF] p-xs-regular px-[5px] text-[#777777] bottom-[0%] right-[0%] ">
320+
<div className="absolute rounded-tl-[5px] rounded-br-[5px] border-r-[0.5px] border-b-[0.5px] border-[#BABABA] bg-[#F5F0FF] p-xs-regular px-[5px] text-[#777777] bottom-[0%] right-[0%]">
321321
{form.title ? [...form.title].length : 0} / 20자
322322
</div>
323323
</div>
324324

325325
{/* 설명 */}
326326
<div
327-
className={`box-border relative focus-within:outline-none focus-within:border-[0.5px] focus-within:border-[#caabff] rounded-[5px] border-[0.5px] border-[#BABABA] ${
327+
className={`box-border relative focus-within:outline-none focus-within:border-[0.5px] focus-within:border-[#caabff] rounded-[5px] border-[0.5px] border-[#BABABA] w-full ${
328328
isSmallMobile ? " h-[85px]" : " h-[108px]"
329329
}`}
330330
>
331331
<textarea
332-
className={`contents-textarea focus:outline-none border-none flex placeholder:text-[rgba(0,0,0,0.17)] resize-none bg-[#FFF] box-border ${
333-
isSmallMobile ? " p-xs-regular" : " p-small-regular"
332+
className={`contents-textarea focus:outline-none border-none flex w-[92%] placeholder:text-[rgba(0,0,0,0.17)] resize-none bg-[#FFF] box-border ${
333+
isSmallMobile ? "p-xs-regular" : "p-small-regular"
334334
} `}
335335
placeholder="간단한 줄거리를 입력해주세요. (최대 150자)"
336336
value={form.plot ?? ""}

src/pages/myPage/PostManage/PostMangeDetail.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,11 @@
235235
}
236236

237237
.contents-textarea {
238-
height: 82px;
239-
width: 266px;
238+
height: 80px;
240239
margin: 13px 22px;
241240

242241
@include r.media-small-mobile {
243-
height: 56px;
244-
width: 72.5vw;
242+
height: 54px;
245243
margin: 14.5px 4.69vw;
246244
}
247245
}

0 commit comments

Comments
 (0)