Skip to content

Commit badebff

Browse files
authored
Merge pull request #255 from ItRecode/FE-254
[FE-254] fix: 20๊ธ€์ž ๋„˜์–ด๊ฐ€๋ฉด return ๋กœ์ง ์ถ”๊ฐ€. ๋ฉ”์ธํŽ˜์ด์ง€ ๋žญํ‚น ํฐํŠธ์ƒ‰ ๊ณ ์ •. ํŒ€์†Œ๊ฐœ ํŽ˜์ด์ง€ pํƒœ๊ทธ ํฐํŠธ ์ง€์ •
2 parents a96fbdf + 5b5bdf1 commit badebff

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

โ€Žsrc/components/RankingItem.tsxโ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ export default function RankingItem({
5555
</div>
5656

5757
<button className="absolute right-6 flex items-center whitespace-nowrap bg-transparent p-0">
58-
<p>ํ•จ๊ป˜ {parentCategoryId === CELEBRATION_ID ? '์ถ•ํ•˜' : '์œ„๋กœ'}ํ•˜๊ธฐ</p>
58+
<p className="text-grey-10">
59+
ํ•จ๊ป˜ {parentCategoryId === CELEBRATION_ID ? '์ถ•ํ•˜' : '์œ„๋กœ'}ํ•˜๊ธฐ
60+
</p>
5961
<Arrow className="ml-4" />
6062
</button>
6163
</div>

โ€Žsrc/pages/Setting/FeedbackMail/FeedbackMail.tsxโ€Ž

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ function FeedbackMail() {
1111

1212
const formRef = useRef<HTMLFormElement>(null)
1313

14+
const handleChangeSubjectInput = (e: React.ChangeEvent<HTMLInputElement>) => {
15+
if (e.target.value.length > 20) return
16+
setSubject(e.target.value)
17+
}
1418
const sendEmail = (e: React.FormEvent<HTMLFormElement>) => {
1519
e.preventDefault()
1620
if (subject === '' || body === '') return
@@ -99,7 +103,7 @@ function FeedbackMail() {
99103
type="text"
100104
className="w-full border-b border-solid border-grey-4 py-1.5 text-grey-9 outline-none placeholder:text-grey-4 focus:placeholder:text-transparent"
101105
placeholder="์ œ๋ชฉ์„ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”."
102-
onChange={(e) => setSubject(e.target.value)}
106+
onChange={(e) => handleChangeSubjectInput(e)}
103107
value={subject}
104108
maxLength={20}
105109
/>

โ€Žsrc/pages/Setting/TeamIntroduction/TeamIntroduction.tsxโ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ function TeamIntroduction() {
2727
'https://itrecord.notion.site/itrecord/b55dba4e491144d5b62efd0bdbe15b36'
2828
)
2929
}
30-
className="mt-8 flex w-full cursor-pointer items-center justify-between bg-transparent p-0 text-base font-semibold"
30+
className="mt-8 flex w-full cursor-pointer items-center justify-between bg-transparent p-0"
3131
>
32-
<p>
32+
<p className="text-base font-semibold">
3333
๋” ์ž์„ธํ•œ ํŒ€ <span className="text-primary-2">ํ…์ ธ์Šค์˜ ์ด์•ผ๊ธฐ</span>{' '}
3434
๋ณด๋Ÿฌ๊ฐ€๊ธฐ
3535
</p>

0 commit comments

Comments
ย (0)