Onion Information
Prevent word break in array question on LimeSurvey | Ming Di Leom's Blog
In array type question, when you add many answer options, some words might break into next line, especially when the word is long
Onion Details
Page Clicks: 0
First Seen: 04/26/2024
Last Indexed: 10/23/2024
Onion Content
In array type question, when you add many answer options, some words might break into next line, especially when the word is long. When you have many answer options, the word can break into next line, like this: LimeSurvey does this to have consistent column width size across array question. Personally, I prefer not to have word break than fixed width. Here’s how to prevent word break. Go to the main admin page and then Themes. ‘Extend’ the theme of your choice. Choose a name of the new extended theme. It will redirect you to ‘Theme editor’ page. Go to ‘custom.css’. Paste the following css, table .ls-answers { table-layout : auto; } #outerframeContainer { word-wrap : normal; hyphens : none; moz- hyphens : none; webkit- hyphens : none; } Save it and change to the new theme in your survey. Once the word break is disabled, array answers should look like this,