Skip to content

Commit

Permalink
refactor: change preview modal style
Browse files Browse the repository at this point in the history
  • Loading branch information
greenblues1190 committed Oct 10, 2022
1 parent 0f3fee4 commit fcb80a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
}

.button-box {
width: 100%;
display: flex;
justify-content: space-between;
justify-content: center;
gap: 1rem;
}

.button {
width: 100%;
width: 12rem;
max-width: 100%;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import styles from "./ApplicationPreviewModal.module.css";
import CheckBox from "../form/CheckBox/CheckBox";
import { RecruitmentItem } from "../../../types/domains/recruitments";
import { Answer, ApplicationForm } from "../../../types/domains/applicationForms";
import CancelButton from "../form/CancelButton/CancelButton";

type ApplicationPreviewModalWindowProps = {
recruitmentItems: RecruitmentItem[];
Expand Down Expand Up @@ -80,9 +81,9 @@ const ApplicationPreviewModal = ({
<div className={styles["button-box"]}>
<Button
type="button"
variant={BUTTON_VARIANT.CONTAINED}
variant={BUTTON_VARIANT.OUTLINED}
className={styles.button}
cancel={true}
cancel={false}
onClick={handleClickDismissButton}
>
취소
Expand All @@ -95,7 +96,7 @@ const ApplicationPreviewModal = ({
onClick={handleClickConfirmButton}
disabled={!isChecked}
>
제출
최종 제출
</Button>
</div>
</div>
Expand Down

0 comments on commit fcb80a0

Please sign in to comment.