This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-0e81cf0d-8c66-4e95-b831-ffb3d28a8eb3 XWIKI-22382 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-83a9b4d1-cb4e-47f9-b9c5-51f2e01c212d Anca Luca created this issue on 02/Aug/24 10:19
 
Summary: Centered image is displaying a scroll bar on the document content if it's the only content in the page on Chrome
Issue Type: cid:jira-generated-image-avatar-0e81cf0d-8c66-4e95-b831-ffb3d28a8eb3 Bug
Affects Versions: 16.4.1
Assignee: Unassigned
Attachments: image-2024-08-02-10-19-34-250.png
Components: Image
Created: 02/Aug/24 10:19
Environment: Chrome browser
Priority: cid:jira-generated-image-static-major-bbed26c4-2fac-484a-8490-1e923f7ed1a9 Major
Reporter: Anca Luca
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:
    _thumb_42724.png

This doesn't seem to reproduce on Firefox.