PennController for IBEX › Forums › Support › Prevent long stimuli from splitting in two lines › Reply To: Prevent long stimuli from splitting in two lines
Hi,
You could use .css("white-space", "nowrap")
Also, I see in your code that you have defaultText.css("font-size", "80")
but then you don’t create any Text element, instead you use Controller elements to display content: the css
command won’t affect those elements. You can try calling .css("font-size", "80")
on each Controller element
Besides, you might want to edit Aesthetics/PennController.css to change width: 40em !important;
to width: 60em !important;
for example (you would then need to change margin-left: calc(50vw - 20em);
to margin-left: calc(50vw - 30em);
to keep the content centered)
Jeremy