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

Centered image is displaying a scroll bar on the document content if it's the only content in the page on Chrome

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 16.4.1
    • Image
    • None
    • Chrome browser
    • Unknown

    Description

      Steps to reproduce:

      • create a page with the following syntax (replacing the image name with an image you have):
        [[image:xwiki-o.png||data-xwiki-image-style-alignment="center" height="300" width="300"]]
        
        
      • note that this syntax is obtained by adding an image from the wysiwyg editor and choosing the center option in alignment options
      • note: no image style is configured on the instance, it's the default setting of styles, shipped with the standard distribution
      • save
      • view the page

      Expected result:

      • the image is displayed centered on the page, with no scroll bars

      Actual result:

      • there is a vertical scroll bar on the content:

      This doesn't seem to reproduce on Firefox.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: