Closed psobolewskiPhD closed 5 months ago
ooh interesting! Probably an upstream bug - would you mind opening an issue there?
I don't think it's upstream bug, I think I just wasn't clear: Upstream wide look like this:
And if you narrow it you can see the header space expands vertically--it between the shadow at the bottom and the purple banner:
In our case, here is the wide view:
Looks much like upstream. But when I narrow it:
The blue header doesn't expand in the vertical direction (GitHub is auto sizing to fit width here, but I think you can see what's happening)
Apropos, upstream has a PR to improve the default look: https://github.com/pydata/pydata-sphinx-theme/pull/1784 (but our issue is still something different, with the blue bar graphic not expanding)
Hi, I landed here from the cross-reference to the PyData Theme issue (1784). I think you can fix this issue by removing the height: 64px
on the header. I'm not familiar enough with Napari docs to know if that's a viable solution, maybe you have an animation or some other reason you need to set the height explicitly, but if you don't need to set an explicit, fixed height, that should fix this issue, which is what I did in PR #163
No we dont have any customization beyond the color, I will try that, thanks! ☺️
The items in the header go multiline, but the header area (blue bar) doesn't expand.
Compare to parent pydata-sphinx-theme:
The header bar widens to accommodate the double-line. I don't love the aesthetic, but it is objectively better than ours 🤣