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

Omit the nav bar title when it has no use #5316

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Omit the nav bar title when it has no use #5316

merged 1 commit into from
Jul 31, 2024

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Jul 22, 2024

Turns out this is needed for navigation on mobile, but useless on larger screens.

Closes #5130

Screenshot 2024-07-22 at 5 47 49 PM Screenshot 2024-07-22 at 5 48 02 PM Screenshot 2024-07-22 at 5 48 08 PM

@zanieb zanieb added documentation Improvements or additions to documentation preview Experimental behavior labels Jul 22, 2024
@zanieb zanieb changed the title Omit the nav bar title Omit the nav bar title when it has no use Jul 22, 2024
@zanieb
Copy link
Member Author

zanieb commented Jul 22, 2024

A little hesitant on the trade-off here (compared to something more impactful like #5310)

Base automatically changed from zb/docs-nav to main July 23, 2024 16:50
@zanieb zanieb marked this pull request as ready for review July 23, 2024 16:50
@zanieb

This comment was marked as outdated.

zanieb added a commit that referenced this pull request Jul 23, 2024
Fixes blur noted in #5316 but
doesn't drop the title entirely.
#5316 is my preferred design, if the
implementation was cost-free.


<img width="1259" alt="Screenshot 2024-07-23 at 3 53 48 PM"
src="https://github.com/user-attachments/assets/6f9b828b-884f-447d-8508-ba4023152e2f">

(nothing to see at the rest of the breakpoints >1220)

<img width="1259" alt="Screenshot 2024-07-23 at 3 53 56 PM"
src="https://github.com/user-attachments/assets/b892cd76-cd91-4e78-b8c8-58e16a8b1130">
@zanieb
Copy link
Member Author

zanieb commented Jul 30, 2024

With #5628 I feel like this is even more relevant.

@zanieb zanieb merged commit 0c68082 into main Jul 31, 2024
46 checks passed
@zanieb zanieb deleted the zb/docs-nav-title branch July 31, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation preview Experimental behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navigation bar heading is redundant
2 participants