How do I force word wrap on a multi line column

Home Forums Modern DFFS How do I force word wrap on a multi line column

Viewing 2 reply threads
  • Author
    Posts
    • #39045
      Marcus Khoo
      Participant

        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!

      • #39046
        Alexander Bautz
        Keymaster

          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

        • #39047
          Marcus Khoo
          Participant

            Well done Alexander.
            Works perfectly!
            Best regards

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.