(This is for homework module rather than portal).
In order to edit a homework task, a teacher has to click on the description of the task.
When the homework is being shown on a small width screen, it is the description task that gets collapsed meaning that you can't get to the homework to update it.
It would be much better to either collapse a different column, or maybe add an 'edit' button that could be used instead.