dix button delete
This commit is contained in:
parent
0586a88cab
commit
a8967b62f2
|
|
@ -51,11 +51,11 @@ const ChoiceFields = ({ index, data }: { index: number; data: Choice }) => {
|
||||||
name={index}
|
name={index}
|
||||||
type="Checkbox"
|
type="Checkbox"
|
||||||
/>
|
/>
|
||||||
<p className="delete_question_options">
|
<p className="delete_question_options" onClick={handleDeleteChoice}>
|
||||||
{t("header.delete_choice")}
|
{t("header.delete_choice")}
|
||||||
<GoTrash
|
<GoTrash
|
||||||
className="trash_icon"
|
className="trash_icon"
|
||||||
onClick={handleDeleteChoice}
|
|
||||||
size={17}
|
size={17}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
||||||
|
|
@ -72,11 +72,11 @@ const ChoiceFields = ({
|
||||||
type="Checkbox"
|
type="Checkbox"
|
||||||
parent_index={parent_index}
|
parent_index={parent_index}
|
||||||
/>
|
/>
|
||||||
<p className="delete_question_options">
|
<p className="delete_question_options" onClick={handleDeleteChoice}>
|
||||||
{t("header.delete_choice")}
|
{t("header.delete_choice")}
|
||||||
<GoTrash
|
<GoTrash
|
||||||
className="trash_icon"
|
className="trash_icon"
|
||||||
onClick={handleDeleteChoice}
|
|
||||||
size={17}
|
size={17}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
||||||
|
|
@ -53,12 +53,12 @@ const QuestionFIeld = ({ index, data }: { index: number; data: Choice }) => {
|
||||||
|
|
||||||
<ImageBoxField name={`Questions.${index}.content_image`} />
|
<ImageBoxField name={`Questions.${index}.content_image`} />
|
||||||
|
|
||||||
<div className="answer_status">
|
<div className="answer_status" onClick={handleDeleteQuestion}>
|
||||||
<p className="delete_question_options">
|
<p className="delete_question_options">
|
||||||
{t("header.delete_question")}
|
{t("header.delete_question")}
|
||||||
<GoTrash
|
<GoTrash
|
||||||
className="trash_icon"
|
className="trash_icon"
|
||||||
onClick={handleDeleteQuestion}
|
|
||||||
size={17}
|
size={17}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,8 @@
|
||||||
.delete_question_options {
|
.delete_question_options {
|
||||||
margin-top: 25px;
|
margin-top: 25px;
|
||||||
color: var(--warning);
|
color: var(--warning);
|
||||||
|
z-index: 9999;
|
||||||
|
cursor: pointer;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
.trash_icon {
|
.trash_icon {
|
||||||
margin-right: 10px !important;
|
margin-right: 10px !important;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user