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

Website home page nav bar looks weird on Firefox #2844

Closed
lgimberis opened this issue Apr 30, 2024 · 5 comments
Closed

Website home page nav bar looks weird on Firefox #2844

lgimberis opened this issue Apr 30, 2024 · 5 comments
Labels
style-improvement Related to theme design and/or ux

Comments

@lgimberis
Copy link

Hi,

Here is what I see when loading the home page at vuejs.org:
image

This is clearly a little wonky. It gets worse if I zoom in:
image

This seems to be caused by a line-height rule:
line-height: calc(var(--vt-nav-height) - 1px);
It's fine on Google Chrome, I haven't looked into why it's only a problem on Firefox.

Removing the line-height rule and adding align-content: center fixes this, as far as I can tell.
image

Thanks

@brc-dd
Copy link
Member

brc-dd commented Apr 30, 2024

Can you share which firefox version and OS you're using? Also, can you specify the viewport size at which this issue occurs?

@lgimberis
Copy link
Author

Oh, Now I know why I'm seeing this. My default zoom level is 120%. When I go back to 100% zoom, it's completely as intended.

@brc-dd
Copy link
Member

brc-dd commented Apr 30, 2024

Ah, even for 120% it doesn't seem to be happening for me 👀

image

@lgimberis
Copy link
Author

Hmm, it's fine on mobile too. Seems like it's something specific to my combination of software, then. I'm using Firefox 125.0 on Ubuntu 22.04.1. I'm not sure what my viewport size is exactly, but the problem is there whether in fullscreen or in a smaller window so I don't think it makes a difference. I am on a 1080p resolution screen, though

@bencodezen
Copy link
Member

Thanks for filing the issue @lgimberis! Since this seems to be a one-off, I'm going to go ahead and close this for now; but if this keeps coming up, please let us know and we'll be happy to take a look!

@bencodezen bencodezen added the style-improvement Related to theme design and/or ux label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
style-improvement Related to theme design and/or ux
Projects
None yet
Development

No branches or pull requests

3 participants