0
Answered

Turn of "white-space: nowrap;"?

jobu1342 6 year бұрын жаңартылды 6 year бұрын 5
Is there a control that permits word wrap? I have some text I'd like to have inherit the normal word flow of the browser, and I can't figure out how to make that happen.
Under review
What do you mean with "normal word flow"? Default value for CSS white-space is "normal". However I have committed a change from w-s: pre to w-s: pre-wrap, which will let you wrap text when a <label> is constrained within a size-limited <box>. 
That is the type of thing I was looking for, although the line height is a bit obnoxious for word wraps. I need a paragraph of text explaining a form, so excessive line height makes it less readable. Should this be placed in a new control, or changes be made to <label>?
I changed the default <label>. I would recommend simply making a custom style for label (CSS rule .control.label.style-stylename).
Thanks! I'll be able to check it out in a couple of days.