Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23288

Required rights modal becomes very wide when viewing analysis details

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 17.4.0-rc-1
    • None
    • Unknown

    Description

      Steps to reproduce:

      1. Open a page that has scripts with long lines, for example AnnotationCode.Script
      2. Open the information tab
      3. Click the "Review required rights" button
      4. Click on "Analysis details"
      5. Click on one of the two items

      Expected result:

      The width of the dialog doesn't change.

      Actual result:

      The dialog becomes a lot wider, for the second item the width of the dialog even exceeds the screen width. See also the attached screen recording.

      The reason for this is that I've set the modal's min-width to fit-content in order to ensure that the four rights fit even when translated and when having the analysis summary below them (which already doesn't always fit in English and I fear in other languages it will be worse). I didn't consider that code blocks would influence this when developing this as I always tested with very short test scripts.

      Attachments

        Activity

          People

            MichaelHamann Michael Hamann
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: