-
Notifications
You must be signed in to change notification settings - Fork 329
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
Navbar start items are not properly aligned #617
Comments
@choldgraf, since you introduced the |
Hmm, I cannot figure out what looks wrong. The logo looks aligned with the text to me in the two links that were provided, did they change? |
I fixed the ArviZ one, and it looks like scipy removed it. In ArviZ we are overriding the css, you can compare the behaviour between latest and https://python.arviz.org/en/v0.12.0. For scipy you can compare between the screenshots above though it is not as convenient as you can't inspect their source |
ah ok - I think that if we added a CSS rule to make the Something like: div#navbar-start {
display: flex;
align-items: center;
} I think we'd want this behavior by default for all of the major navbar sections |
I noticed that #526 modified the alignment of the navbar brand so it looks nicer with texts, but since then I have been unable to align the logo and version number in the same row. It used to look like: https://arviz.readthedocs.io/en/v0.11.3/. Now it looks like https://arviz.readthedocs.io/en/latest/, I saw scipy is also having the same issue: https://scipy.github.io/devdocs/. The navbar becomes too wide and even eats up part of the content (see the search bar in the sidebar of the scipy docs).
I noticed that opening the dev tools with mozilla and unchecking the display of the
.navbar-brand
element fixes this:is it possible to add this
display: flex
only when text is used? Should I overwrite that in a custom.css file instead?The text was updated successfully, but these errors were encountered: