Click on a question to display the answer or the answer form
-
If there is no answer yet, then show the question with the answer form in single view when clicking on the question (behavior as before). -
If there is an answer, then show it in the viewport of the question (see video). -
If there is an answer, and you click exactly on the answer icon, then show the question with the answer form in single view (behavior as before, see video). -
If there is no answer and the user is a participant, then just change the background and text color of the question to highlight it. Use var(--primary)
andvar(--on-primary)
.