I have seen several kind of similar questions, but none answers my question.
I am trying to make a questionnaire with multiple choice. I have the choices styled in css grid. If I have a grid track with 3 columns, how can I dynamically change the number of columns to 2 if content in one of the columns cannot fit in one of the three columns?
I have tried this among other solutions but it did not work.
Here is my current implementaion
EDIT: It is not a must I do it with css grid. A solution using Flexbox would still be great.