This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-ccb71b07-6847-406e-8bbd-446072e6d794 XWIKI-22934 Open

Bottom padding too large in box/message macros

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-d25b21a0-673b-46ab-a00d-e45bb3143740 Michael Hamann created this issue on 26/Feb/25 10:00
 
Summary: Bottom padding too large in box/message macros
Issue Type: cid:jira-generated-image-avatar-ccb71b07-6847-406e-8bbd-446072e6d794 Bug
Affects Versions: 16.10.3, 17.0.0-rc-1
Assignee: Unassigned
Attachments: image-2025-02-26-10-00-03-882.png, image-2025-02-26-10-00-29-468.png
Components: Flamingo Skin
Created: 26/Feb/25 10:00
Labels: regression
Priority: cid:jira-generated-image-static-blocker-4567cdd8-bfbf-4425-8938-c77717aa537c Blocker
Reporter: Michael Hamann
Description:

Steps to reproduce:

Open the Sandbox page.

Expected result:

The first message looks like this:

43372_image-2025-02-26-10-00-03-882.png

Actual result:

The first message looks like this:

43371_image-2025-02-26-10-00-29-468.png

The padding at the bottom is much larger than at the top, which looks weird.

This is because the CSS rule to remove the padding at https://github.com/xwiki/xwiki-platform/blob/e5af673a29e4666cfd9fb0a3e576cd52131786c8/xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/less/messages.less#L65-L70 isn't applied anymore due to the additional div container introduced in XRENDERING-768.