XWIKI-21631: Tour generates a bottom scroll-bar, when items are created near the margins #3616
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Jira URL
https://jira.xwiki.org/browse/XWIKI-21631
Changes
Description
Clarifications
.row
class from bootstrap that brought the negative margin..popover-navigation
class from bootstrap-tour that brought the padding.Screenshots & Video
Before the PR, it looked the same, but on Firefox 128, I could see a horizontal scrollbar trying to scroll would twitch with a blank line on the right and end up as non scrolled.
After the changes proposed in this PR were applied on my local instance, here are the results:
There is no more scrollbar. The style of the box did not change.
Executed Tests
Only manual tests, see above.
From what I can see, the pageObject used in tests is not broken:
xwiki-platform/xwiki-platform-core/xwiki-platform-tour/xwiki-platform-tour-test/xwiki-platform-tour-test-pageobjects/src/main/java/org/xwiki/tour/test/po/PageWithTour.java
Lines 122 to 123 in 330657a
The xpath selectors do not rely on the "style only"
.row
class but only on.popover-navigation
, which is kept the same.I did not run any automated tests.
Expected merging strategy