Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/components/common/Modal/BasicModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ const BasicModal = ({
{showCloseButton && (
<DialogClose asChild>
<button className='absolute top-4 right-5' aria-label='Close'>
<Close width={24} height={24} />
<Close width={24} height={24} className='text-gray-500' />
</button>
</DialogClose>
)}
<DialogHeader>
<DialogTitle className='text-xl md:text-2xl text-left'>{title}</DialogTitle>
<DialogTitle className='custom-text-xl-bold md:custom-text-2xl-bold text-left'>
{title}
</DialogTitle>
<DialogDescription className='sr-only'>다이얼로그 내용</DialogDescription>
</DialogHeader>

Expand Down
2 changes: 1 addition & 1 deletion src/components/common/Modal/ConfirmModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const ConfirmModal = ({ children, buttons, open, onOpenChange }: ConfirmModalPro
>
<DialogHeader>
{/* 컨텐츠 영역 */}
<DialogTitle className='mt-2 flex justify-center text-xl md:text-2xl'>
<DialogTitle className='mt-2 flex justify-center custom-text-2lg-bold md:custom-text-xl-bold'>
{children}
</DialogTitle>
<DialogDescription className='sr-only'>다이얼로그 내용</DialogDescription>
Expand Down