Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22335

Fix unexpected work break

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: WEBUI-0.10.0
    • Fix Version/s: WEBUI-1.0.0
    • Component/s: Web UI

      Description

      On metadata description (and possible other places), world will break unexpectedly.

      Example on screenshot.
      This seems to do with CSS style definition: word-break: break-all;

      CSS hyphen should be applied and a less aggressive solution on world break.
      Goal is to break words that don't fit the width in an elegant fashion.

      Proposal
      Use of CSS style :
      word-break: break-word;
      -webkit-hyphens: auto;
      -moz-hyphens: auto;
      -ms-hyphens: auto;
      -o-hyphens: auto;
      hyphens: auto;

      Seems to do a good job but wasn't tested properly. Or tried in other places

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: