diff --git a/src/common/components/Layout/components/Header/MenuItem/index.tsx b/src/common/components/Layout/components/Header/MenuItem/index.tsx index 0565c650..aa2a6193 100644 --- a/src/common/components/Layout/components/Header/MenuItem/index.tsx +++ b/src/common/components/Layout/components/Header/MenuItem/index.tsx @@ -8,12 +8,13 @@ interface MenuItemProps { path?: string; target?: '_blank' | '_self'; amplitudeId?: string; + className?: string; onClick?: () => void; } -const MenuItem = ({ text, path, target, amplitudeId, onClick }: MenuItemProps) => { +const MenuItem = ({ text, path, target, amplitudeId, className, onClick }: MenuItemProps) => { return ( -
  • +
  • {path ? ( { ))} - + )} diff --git a/src/views/ApplyPage/components/FileInput/index.tsx b/src/views/ApplyPage/components/FileInput/index.tsx index 1e73cf1f..dd562a97 100644 --- a/src/views/ApplyPage/components/FileInput/index.tsx +++ b/src/views/ApplyPage/components/FileInput/index.tsx @@ -18,7 +18,7 @@ interface FileInputProps { } const LIMIT_SIZE = 1024 ** 2 * 50; // 50MB -const ACCEPTED_FORMATS = '.pdf, .pptx'; +const ACCEPTED_FORMATS = '.pdf'; const FileInput = ({ section, id, isReview, disabled, defaultFile }: FileInputProps) => { const [isError, setIsError] = useState(false); @@ -135,7 +135,7 @@ const FileInput = ({ section, id, isReview, disabled, defaultFile }: FileInputPr {(uploadPercent !== -1 || !defaultFileName) && ( {uploadPercent < 0 && fileName === '' - ? '50mb 이하 | pdf, pptx' + ? '50mb 이하 | pdf' : uploadPercent < 100 ? `업로드 중... ${uploadPercent}/100% 완료` : uploadPercent === 100 && fileName === '' diff --git a/src/views/ApplyPage/components/FileInput/style.css.ts b/src/views/ApplyPage/components/FileInput/style.css.ts index b90bda0b..0f771f93 100644 --- a/src/views/ApplyPage/components/FileInput/style.css.ts +++ b/src/views/ApplyPage/components/FileInput/style.css.ts @@ -5,8 +5,6 @@ import { theme } from 'styles/theme.css'; export const container = style({ position: 'relative', width: 720, - height: 53, - maxHeight: 53, }); export const fileInput = style({ diff --git a/src/views/ApplyPage/components/Info/index.tsx b/src/views/ApplyPage/components/Info/index.tsx index 2c52a492..225ad8b6 100644 --- a/src/views/ApplyPage/components/Info/index.tsx +++ b/src/views/ApplyPage/components/Info/index.tsx @@ -4,8 +4,8 @@ const Info = ({ value }: { value: string }) => { return (
      - {value?.split('\n').map((text) => ( -
    1. + {value?.split('\n').map((text, idx) => ( +
    2. {text}
    3. ))}