diff --git a/src/assets/styles/components/previewModal.module.scss b/src/assets/styles/components/previewModal.module.scss index a276bc4..1e58204 100644 --- a/src/assets/styles/components/previewModal.module.scss +++ b/src/assets/styles/components/previewModal.module.scss @@ -1,5 +1,7 @@ .myModal { + &__dialog { + &__content { // padding: 2%; &__header { @@ -15,6 +17,28 @@ font-size: 17px; } } + &__body { + padding: 0; + &__item { + padding: 10px 20px; + border-top: 1px solid rgb(200, 200, 200); + &__question { + &__text { + font-size: 15px; + font-family: "Montserrat", sans-serif; + } + &__comment { + font-size: 11px; + font-family: "Montserrat", sans-serif; + font-style: italic; + color: rgb(200, 200, 200); + } + } + &__answer { + + } + } + } } } } \ No newline at end of file diff --git a/src/assets/styles/components/typeAnswer/dropDownList.module.scss b/src/assets/styles/components/typeAnswer/dropDownList.module.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/assets/styles/components/typeAnswer/inputDate.module.scss b/src/assets/styles/components/typeAnswer/inputDate.module.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/assets/styles/components/typeAnswer/inputFile.module.scss b/src/assets/styles/components/typeAnswer/inputFile.module.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/assets/styles/components/typeAnswer/inputMultiple.module.scss b/src/assets/styles/components/typeAnswer/inputMultiple.module.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/assets/styles/components/typeAnswer/inputRadio.module.scss b/src/assets/styles/components/typeAnswer/inputRadio.module.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/assets/styles/components/typeAnswer/inputText.module.scss b/src/assets/styles/components/typeAnswer/inputText.module.scss new file mode 100644 index 0000000..c37fe7b --- /dev/null +++ b/src/assets/styles/components/typeAnswer/inputText.module.scss @@ -0,0 +1,14 @@ +.main { + width: 100%; + input { + width: 100%; + font-size: 15px; + font-family: "Montserrat", sans-serif; + border: 1px solid rgb(200, 200, 200); + color: rgb(50, 50, 50); + padding: 1%; + &::placeholder { + color: rgb(200, 200, 200); + } + } +} \ No newline at end of file diff --git a/src/assets/styles/components/typeAnswer/textArea.module.scss b/src/assets/styles/components/typeAnswer/textArea.module.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/assets/styles/components/typeAnswer/yesNo.module.scss b/src/assets/styles/components/typeAnswer/yesNo.module.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/components/AnswerModal.jsx b/src/components/AnswerModal.jsx index 4b77205..4ab7422 100644 --- a/src/components/AnswerModal.jsx +++ b/src/components/AnswerModal.jsx @@ -8,7 +8,7 @@ const AnswerModal = ({ updateAnswerByForm, stateModal, saveStates, - answer, + question, file, listTypeAnswer, optionAnswer, @@ -20,7 +20,7 @@ const AnswerModal = ({ mandatory, setMandatory, addOptionAnswer, - setAnswer, + setQuestion, setComment, setDatetime, setCurrentTypeAnswer, @@ -43,7 +43,7 @@ const AnswerModal = ({