Multiple choice question don't wrap

Multiple choice question don't wrap

av Sergio Comerón -
Antall svar: 2
Bilde av Core developers Bilde av Plugin developers

In boost theme and Moodle 3.5 in a lesson, the options of the multiple choice questions are not wrapped and the horizontal scroll bar appears.

However, the questions do get wrapped. Don't you think that the answer options should be wrapped?


Gjennomsnittlig vurdering: -
Som svar til Sergio Comerón

Re: Multiple choice question don't wrap

av Joseph Rézeau -
Bilde av Core developers Bilde av Particularly helpful Moodlers Bilde av Plugin developers Bilde av Testers Bilde av Translators

¡Hola Sergio!

This problem is due to your using the Boost theme. It's a bug in that theme. If you switch to the Clean theme, the problem will disappear.

If you absolutely want to use the Boost theme, you can solve the problem by going to Site administration / Appearance / Themes / Boost / Raw initial SCSS and enter this CSS rule:

#page-mod-lesson-view .answeroption .text-nowrap {
  white-space: normal!important;
}

EDIT.- According to Mary's answer in that post it would be preferable to add this CSS rule in the "Raw SCSS" field.

Gjennomsnittlig vurdering:Useful (2)
Som svar til Joseph Rézeau

Re: Multiple choice question don't wrap

av Sergio Comerón -
Bilde av Core developers Bilde av Plugin developers

Thanks Joseph!

Yes, I corrected it with that CSS in the advanced boost settings. Do you know if this problem is already reported in tracker?

Ok, I'll follow the post you mention

Gjennomsnittlig vurdering:Useful (2)