[xwiki-contrib/application-releasenotes] 1e23b3: RN-107: The flow displayer misaligns a change's me...
Branch: refs/heads/RN-107 Home: https://github.com/xwiki-contrib/application-releasenotes Commit: 1e23b3b779068f8e2e42656c66012cbf05429d30 https://github.com/xwiki-contrib/application-releasenotes/commit/1e23b3b7790... Author: Vincent Massol <[email protected]> Date: 2026-09-03 (Thu, 03 Sep 2026) Changed paths: M application-releasenotes-ui/src/main/resources/ReleaseNotes/Code/Change/ChangeDisplayerFlow.xml M application-releasenotes-ui/src/test/java/org/xwiki/releasenotes/DisplayChangesMacroPageTest.java Log Message: ----------- RN-107: The flow displayer misaligns a change's media and displays none when the change has no screenshot * Give every change a media block, the way the grid displayer does: the screenshots when the change has any, its video when it has none, and the "no image" placeholder when it has neither. A change was previously left with an empty half-width column, which made the screenshot of the next change read as illustrating it. * Add a stylesheet to the displayer that starts both halves of a change at the same height: neither column opens with the theme's leading margin any more, and the gallery box hugs its screenshot and pins it to the top instead of padding itself out to a fixed height and centring a short screenshot up to a hundred pixels below the title. The maximised gallery is left alone, so opening a screenshot full screen still fills the viewport. * Cover the two behaviours with page tests: the flow displayer puts the screenshots in the media column and the title in the text column, and both the grid and the flow displayers give a change with no screenshot a media block holding the placeholder. To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/application-releasenotes/settings/notificat...
participants (1)
-
XWiki Notifications