Skip to content

Commit

Permalink
fix : 모달 수정
Browse files Browse the repository at this point in the history
fix : 모달 수정
  • Loading branch information
phyuna0525 authored Mar 14, 2024
2 parents f7111a3 + a871e47 commit eee0e9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/components/common/modal/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ const Modal: React.FC<ModalProps> = ({
const formetDate = date ? moment(date).format("M월 DD일") : null;

return (
<div className="fixed inset-0 flex items-center justify-center bg-gray-800 bg-opacity-30">
<div className=" inset-0 flex items-center justify-center bg-gray-800 bg-opacity-30">
{type === "button" || type === "error" ? (
<div className="bg-white rounded-xl px-24 py-13 w-155">
<div className=" z-10 bg-white rounded-xl px-24 py-13 w-155">
<div className="flex flex-col gap-8 items-center">
<div className="font-sans text-heading5 text-neutral-50 text-center">
{heading1 && <div className="max-w-none">{heading1}</div>}
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/common/modal/selfStudyTeacher.tsx/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ const SelfStudyModal: React.FC<ModalProps> = ({
};

return (
<div className="fixed inset-0 flex items-center justify-center bg-gray-800 bg-opacity-30">
<div className="bg-white rounded-xl px-24 py-13 w-155">
<div className=" z-10 fixed inset-0 flex items-center justify-center bg-gray-800 bg-opacity-30">
<div className=" bg-white rounded-xl px-24 py-13 w-155">
<div className="flex flex-col gap-8 items-center">
<div className="text-neutral-50 text-center">
{heading1 && (
Expand Down

0 comments on commit eee0e9a

Please sign in to comment.