@@ -441,7 +441,7 @@ const PostManageDetail: React.FC = () => {
441441 ? ""
442442 : String ( form . runningTime ?? "" )
443443 }
444- className = "focus:outline-none focus:border-[0.5px] focus:border-[#caabff] text-center ml-[4.31% ] mr-[1.72% ] w-[31% ] placeholder-[rgba(0,0,0,0.17)] border-[#BABABA] rounded-[5px] border-[0.5px]"
444+ className = "focus:outline-none focus:border-[0.5px] focus:border-[#caabff] text-center ml-[5px ] mr-[2px ] w-[36px ] placeholder-[rgba(0,0,0,0.17)] border-[#BABABA] rounded-[5px] border-[0.5px]"
445445 onChange = { ( e ) => {
446446 const value = e . target . value ;
447447
@@ -505,63 +505,63 @@ const PostManageDetail: React.FC = () => {
505505 alt = "입력 체크"
506506 />
507507 < span className = " ml-[6.67%] p-small-medium whitespace-nowrap translate-y-[1px] flex-grow " >
508- 장과 막
508+ 막과 장
509509 </ span >
510510 </ div >
511511 < img src = { stickIcon } className = "my-auto" />
512- < div className = " flex flex-row items-center pl-[6.14%] p-small-regular whitespace-nowrap" >
512+ < div className = "flex flex-row items-center p-small-regular whitespace-nowrap" >
513513 < input
514514 type = "text"
515515 placeholder = "00"
516516 value = {
517- form . scene === 0 && ! isTouched . scene
517+ form . act === 0 && ! isTouched . act
518518 ? ""
519- : String ( form . scene ?? "" )
519+ : String ( form . act ?? "" )
520520 }
521- className = "focus:outline-none focus:border-[0.5px] focus:border-[#caabff] text-center mr-[1.56% ] w-[21.1% ] placeholder-[rgba(0,0,0,0.17)] border-[#BABABA] rounded-[5px] border-[0.5px]"
521+ className = "focus:outline-none focus:border-[0.5px] focus:border-[#caabff] text-center mr-[2px ] w-[27px ] placeholder-[rgba(0,0,0,0.17)] border-[#BABABA] rounded-[5px] border-[0.5px]"
522522 onChange = { ( e ) => {
523523 const value = e . target . value ;
524524
525- setIsTouched ( ( prev ) => ( { ...prev , scene : true } ) ) ;
525+ setIsTouched ( ( prev ) => ( { ...prev , act : true } ) ) ;
526526
527527 // 빈 문자열 입력 시 → 상태를 빈 문자열로 유지
528528 if ( value === "" ) {
529- setForm ( ( prev ) => ( { ...prev , scene : undefined } ) ) ; // 또는 null
529+ setForm ( ( prev ) => ( { ...prev , act : undefined } ) ) ; // 또는 null
530530 } else if ( / ^ \d { 0 , 2 } $ / . test ( value ) ) {
531531 setForm ( ( prev ) => ( {
532532 ...prev ,
533- scene : Number ( value ) ,
533+ act : Number ( value ) ,
534534 } ) ) ;
535535 }
536536 } }
537537 />
538- < span > 장 </ span >
538+ < span > 막 </ span >
539539 < input
540540 type = "text"
541541 placeholder = "00"
542542 value = {
543- form . act === 0 && ! isTouched . act
543+ form . scene === 0 && ! isTouched . scene
544544 ? ""
545- : String ( form . act ?? "" )
545+ : String ( form . scene ?? "" )
546546 }
547- className = "focus:outline-none focus:border-[0.5px] focus:border-[#caabff] text-center ml-[3.9%] mr-[1.56% ] w-[21.1% ] placeholder-[rgba(0,0,0,0.17)] border-[#BABABA] rounded-[5px] border-[0.5px]"
547+ className = "focus:outline-none focus:border-[0.5px] focus:border-[#caabff] text-center ml-[5px] mr-[2px ] w-[27px ] placeholder-[rgba(0,0,0,0.17)] border-[#BABABA] rounded-[5px] border-[0.5px]"
548548 onChange = { ( e ) => {
549549 const value = e . target . value ;
550550
551- setIsTouched ( ( prev ) => ( { ...prev , act : true } ) ) ;
551+ setIsTouched ( ( prev ) => ( { ...prev , scene : true } ) ) ;
552552
553553 // 빈 문자열 입력 시 → 상태를 빈 문자열로 유지
554554 if ( value === "" ) {
555- setForm ( ( prev ) => ( { ...prev , act : undefined } ) ) ; // 또는 null
555+ setForm ( ( prev ) => ( { ...prev , scene : undefined } ) ) ; // 또는 null
556556 } else if ( / ^ \d { 0 , 2 } $ / . test ( value ) ) {
557557 setForm ( ( prev ) => ( {
558558 ...prev ,
559- act : Number ( value ) ,
559+ scene : Number ( value ) ,
560560 } ) ) ;
561561 }
562562 } }
563563 />
564- < span > 막 </ span >
564+ < span > 장 </ span >
565565 </ div >
566566 </ div >
567567
0 commit comments