pkgdown icon indicating copy to clipboard operation
pkgdown copied to clipboard

strip_header causes the navigation bar to overlap content

Open igordot opened this issue 3 years ago • 1 comments

I noticed that with Bootstrap 5 and strip_header enabled, the content will be overlapping with the navigation bar.

Here is an example with the simplex theme with strip_header: false: image And with strip_header: true: image

This might be more of a Bootstrap bug than a pkgdown one. Is there any way to fix or get around this issue?

igordot avatar Sep 23 '22 18:09 igordot

:wave: @igordot, thanks for the report.

I'd recommend using the pkgdown-nav-height bslib variable https://pkgdown.r-lib.org/dev/articles/customise.html#bootswatch-themes (at least for a workaround for now)

maelle avatar Oct 06 '22 12:10 maelle

Since we don't really use or recommend this any more, I think we should remove from the docs.

hadley avatar Apr 12 '24 14:04 hadley