WIP: QandA toggler
qanda.js
is adding the "show/hide answer" button always at the first element inside .question
. If the question container has multiple paragraphs or other elements, the toggler is still always added to its first element child. This causes the UI to be both strange to look at and reduces the usability.
The toggler should either be BEFORE the very first element, or AFTER the very last element inside the question container. Currently, if the last element is a code block or other non-paragraph-like element, it is still appended at the end, causing an ugly and less-than-optimal interface.
TODO: Think more about the reasoning behind all this and update this issue with clear steps on the desired results.
Edited by Fernando Basso