-
Notifications
You must be signed in to change notification settings - Fork 326
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
Feature/variable header height #286
Feature/variable header height #286
Conversation
I already noticed that the anchor margin on the top is added on activation. I should look into this. UPDATE: I think we should revert the |
Any feedback on this @jorisvandenbossche or @choldgraf ? |
The silence here is getting somewhat uncomfortable. Is even Everything okay with @jorisvandenbossche ? Are you aware of something @choldgraf ? |
Yes, everything allright! (except for the usual "too many github notifications" .. ). Sorry about the silence, taking a look now. |
It seems this is because the variable substitution in |
Something like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, and based on a quick experimentation with the preview, it all looks good (except for the one issue being discussed). Thanks!
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
79bdce6
to
8f6f792
Compare
I think indeed @jorisvandenbossche your suggestion solved the issue. |
OK, this should be good to go then. Also checked locally that setting the CSS variable to a higher value works nicely. Thanks @hoetmaaiers ! |
Hooray |
@hoetmaaiers I noticed one bug that seems to be caused by this (at least from quickly checking the preview docs from readthedocs, it seems to have started here), which is that the mobile dropdown doesn't work anymore -> #304, in case you have a quick thought about what the issue could be |
height: var(--header-height); | ||
width: 100%; | ||
padding: 0; | ||
overflow: hidden; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose it's caused by this hidden overflow. @hoetmaaiers do you remember why this was added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't directly remember why this was added. But the mobile dropdown is blamed by it? Is an other issue already registered for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried adding a variable to define the header height. This will solve this issue: #258.
In
theme.css
a new variable is available:--header-height
which for the Pandas theme is60px
.