Skip to content

Commit

Permalink
feat(surveys): be able to drag and reorder questions (#18763)
Browse files Browse the repository at this point in the history
* reorder questions wip

* reorder questions

* address comments and open question box to where it's dragged

* import linter fix

* key prop error

* rotate drag handle icon

* add back auto disappear
  • Loading branch information
liyiy authored and daibhin committed Nov 29, 2023
1 parent aa99179 commit 4d0f411
Show file tree
Hide file tree
Showing 3 changed files with 690 additions and 552 deletions.
7 changes: 7 additions & 0 deletions frontend/src/scenes/surveys/EditSurvey.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@
font-size: 10px;
background-color: var(--bg-3000);
}

.SurveyQuestionDragHandle {
font-size: 1.2em;
color: var(--default);
cursor: move;
transform: rotate(90deg);
}
Loading

0 comments on commit 4d0f411

Please sign in to comment.