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-13987: Navbar height is increased by 5px on small device (<768px) #3669

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sereza7
Copy link
Contributor

@Sereza7 Sereza7 commented Nov 21, 2024

Jira URL

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

Changes

Description

  • Removed the space used by the left navbar when it has no children (xwiki standard's default)

Clarification

I decided to be extra precise with the selector to not degrade the state of the navbar-left elements when there's some inside. I didn't test in this case, but the selector should avoid that this change have any unexpected effects.

Screenshots & Video

The screens for the state before the PR are on the ticket itself.
Here is what this UI looks like with the changes proposed in this PR:

2024-11-21.16-09-54.mp4

We can see that there's not a middle step anymore. The only two states of the navbar are: everything on one line, icon on one line and actions on the next one.

Executed Tests

Manual tests for style changes. See the video above.

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • 16.10.X

Assignee

Assigning surli since he already heard of this issue :)

* Removed the space used by the left navbar when it has no children (xwiki standard's default)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants