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

Fix pkgdown TOC squeezed to bottom issue in vignettes with wide elements #25

Merged
merged 3 commits into from
Dec 26, 2023

Conversation

nanxstats
Copy link
Collaborator

This PR:

  • Sets preset to "bootstrap" in _pkgdown.yml explicitly, to avoid the theming changes due to bslib 0.6.0 (released 2023-11-21) changing the default of preset to "shiny".
  • Fixes the "TOC being squeezed to bottom" issue in vignettes with wide elements.
    This includes setting a wider container width for a min-width 1200px container rule (coming from somewhere) and make the TOC stay at the top instead of being sticky.

@wangben718 wangben718 merged commit a2f36cf into main Dec 26, 2023
7 checks passed
@nanxstats nanxstats deleted the toc branch December 26, 2023 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants