amalieeh / assessment-support

TDT4501 Computer Science, Specialization Project (2021 FALL) with Sylvi Phuong Huynh @sylvihuynh. About Learning technology.
0 stars 0 forks source link

Dynamically expand textboxes when only two on display #101

Open amalieeh opened 2 years ago

amalieeh commented 2 years ago

As of now, when the user choose view "2", so that only two text boxes is displayed, there is a lot of space underneath the text boxes. The suggestion is that if the answer inside the text box is longer than the box (so that scrolling is enabled), the box should instead expand until the size of the page. So min-height is the "standard size", max-height is "empty space on the page", and other than that it is dependant on the answer length.

amalieeh commented 2 years ago

A thought is that the expansion of the boxes should be dependant on each other, meaning that the boxes get the same hight, and the hight follows the longest answer. But it is easier to see what looks best when testing.