Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XWIKI-21864: Menu Application: If list element is a link, the xDropdown-header-toggle drops to a new line and other weirdness #2893

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

Sereza7
Copy link
Contributor

@Sereza7 Sereza7 commented Feb 15, 2024

Jira URL

https://jira.xwiki.org/browse/XWIKI-21864

Changes

Description

  • Fixed incorrect padding on link section headers in the submenus
  • Positioned the toggle absolutely

Clarifications

  • One selector was incorrect.
  • Positioned the toggle absolutely in those sections so that it doesn't eat away at space the text had before and force a linebreak where there used to be none.

Screenshots & Video

Manual tests video demo: https://youtu.be/QU14vb_BkV4

Executed Tests

Only manual (see video). This is an extra patch upon the changes in https://github.com/xwiki/xwiki-platform/pull/2078/files which did not fail any build.
Moreover, this patch is style only so I doubt it could break any test.

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • 15.10.X (requested on LTS)

…wn-header-toggle drops to a new line and other weirdness

* Fixed incorrect padding on link section headers in the submenus
* Positioned the toggle absolutely in those sections so that it doesn't eat away at space the text had before and force a linebreak where there used to be none.
@Sereza7 Sereza7 marked this pull request as draft February 15, 2024 14:08
@Sereza7
Copy link
Contributor Author

Sereza7 commented Feb 15, 2024

Waiting for user feedback on UI changes before opening this PR for code review. See https://forum.xwiki.org/t/menu-macro-changed-lts-14-10-20-to-15-10-5/14072/8?u=charpentierlucas

@Sereza7
Copy link
Contributor Author

Sereza7 commented Feb 16, 2024

Feedback from users seems to be positive. Opening the PR for code review.

@Sereza7 Sereza7 marked this pull request as ready for review February 16, 2024 10:22
@Sereza7 Sereza7 added the backport stable-15.10.x Used for automatic backport to 15.10.x branch. label Feb 16, 2024
@michitux michitux merged commit 6526e78 into xwiki:master Feb 16, 2024
2 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 16, 2024
…wn-header-toggle drops to a new line and other weirdness (#2893)

* Fixed incorrect padding on link section headers in the submenus
* Positioned the toggle absolutely in those sections so that it doesn't eat away at space the text had before and force a linebreak where there used to be none.

(cherry picked from commit 6526e78)
michitux pushed a commit that referenced this pull request Feb 16, 2024
…wn-header-toggle drops to a new line and other weirdness (#2893) (#2900)

* Fixed incorrect padding on link section headers in the submenus
* Positioned the toggle absolutely in those sections so that it doesn't eat away at space the text had before and force a linebreak where there used to be none.

(cherry picked from commit 6526e78)

Co-authored-by: Lucas C <lucas.charpentier@imt-atlantique.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport stable-15.10.x Used for automatic backport to 15.10.x branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants