diff --git a/frontend/src/components/FeedbackEditBtns/FeedbackEditBtns.tsx b/frontend/src/components/FeedbackEditBtns/FeedbackEditBtns.tsx index 54fc3010..b220f3b0 100644 --- a/frontend/src/components/FeedbackEditBtns/FeedbackEditBtns.tsx +++ b/frontend/src/components/FeedbackEditBtns/FeedbackEditBtns.tsx @@ -5,7 +5,7 @@ import useCrudFeedback from '@hooks/useCrudFeedback'; import { ReactComponent as DeleteIcon } from '@assets/icon/delete.svg'; import { ReactComponent as EditIcon } from '@assets/icon/edit.svg'; import { ReactComponent as CheckIcon } from '@assets/icon/check.svg'; -import { iconSmStyle } from '@styles/commonStyle'; +import { iconSxStyle } from '@styles/commonStyle'; import { fbBtnContainer } from './FeedbackEditBtns.style'; interface Props { @@ -21,15 +21,15 @@ const FeedbackEditBtn = ({ id, readOnly }: Props) => {
{readOnly ? ( ) : ( )}
); diff --git a/frontend/src/components/FeedbackForm/FeedbackForm.style.ts b/frontend/src/components/FeedbackForm/FeedbackForm.style.ts index 7c577fb5..91ff6cbf 100644 --- a/frontend/src/components/FeedbackForm/FeedbackForm.style.ts +++ b/frontend/src/components/FeedbackForm/FeedbackForm.style.ts @@ -21,7 +21,7 @@ export const fbInputStyle = (theme) => css` `; export const fbStartTimeStyle = (theme) => css` - width: 30px; + width: 45px; height: 15px; font-size: 12px; border-radius: 2px; diff --git a/frontend/src/components/FeedbackForm/FeedbackForm.tsx b/frontend/src/components/FeedbackForm/FeedbackForm.tsx index 26c0993a..b77a1ccc 100644 --- a/frontend/src/components/FeedbackForm/FeedbackForm.tsx +++ b/frontend/src/components/FeedbackForm/FeedbackForm.tsx @@ -1,6 +1,8 @@ +import { ONE_SECOND } from '@constants/time.constant'; import { EditableFeedbackType } from '@customType/feedback'; import { currentVideoTimeState } from '@store/currentVideoTime.store'; import { feedbackIdsState, feedbackIdxMapState, feedbackState } from '@store/feedback.store'; +import { mmssFormatter } from '@utils/common.util'; import React, { useState } from 'react'; import { useRecoilTransaction_UNSTABLE, useRecoilValue } from 'recoil'; @@ -57,7 +59,9 @@ const FeedbackForm = () => { return (
-
{inputVal ? startTime : currentVideoTime}
+
+ {mmssFormatter((inputVal ? startTime : currentVideoTime) * ONE_SECOND)} +