How do I force word wrap on a multi line column
- This topic has 2 replies, 2 voices, and was last updated 11 months, 1 week ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Home › Forums › Modern DFFS › How do I force word wrap on a multi line column
Hi,
I have a Multi line column that contains a very very long text string with no spaces in it.
The “standard” SharePoint form will force a wrap so there is no horizontal scroll bar
The standard presentation in DFFS is to give me a horizontal scroll bar which makes highlighting and then copying it rather difficult.
How do I make this “long with no spaces” string appear on multiple lines without a horizontal scroll bar (maybe a veritcal one though)?
Thanks!
Hi,
I’ll look into adding this to the default solution, but as a quick fix you can add this to your custom css:
[data-fieldtypekind="3"] div[class*="formBodyWrap"] {
word-break: break-all;
}
Alexander
Well done Alexander.
Works perfectly!
Best regards