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

"Scala in a Nutshell" header isn't centered like the others (depending on zoom level) #1468

Open
SethTisue opened this issue Feb 10, 2023 · 5 comments
Assignees
Labels

Comments

@SethTisue
Copy link
Member

see image

@bishabosha I poked a bit at trying to fix this but I don't know what's going on and I don't actually know CSS, maybe you can spot the problem?

before

@SethTisue SethTisue changed the title "Scala in a Nutshell" header isn't centered like the others "Scala in a Nutshell" header isn't centered like the others (on Safari) Feb 10, 2023
@SethTisue
Copy link
Member Author

SethTisue commented Feb 10, 2023

gah, I realized I should check other browsers, and it's only broken in Safari... Firefox and Chrome are fine 🙀

@bishabosha
Copy link
Member

I use safari and don't see this, did you empty the caches?

@SethTisue
Copy link
Member Author

SethTisue commented Feb 10, 2023

Turns out I had Safari set to display the site at 125% zoom; the problem goes away at 100% zoom.

Does that enable you to reproduce it?

@bishabosha
Copy link
Member

oh yes in that case I can reproduce it when I zoom in

@bishabosha
Copy link
Member

bishabosha commented Feb 10, 2023

it appears that there is not enough vertical padding so when the "API Docs" and "Migrate to Scala 3" labels go on 2 lines it pushes the title to the right :)

@bishabosha bishabosha self-assigned this Feb 10, 2023
@bishabosha bishabosha added the bug label Feb 10, 2023
@SethTisue SethTisue changed the title "Scala in a Nutshell" header isn't centered like the others (on Safari) "Scala in a Nutshell" header isn't centered like the others (depending on zoom level) Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants