Skip to content

Commit

Permalink
Hotfix for toc squeezed to bottom issue in vignettes with wide elements
Browse files Browse the repository at this point in the history
  • Loading branch information
nanxstats committed Dec 23, 2023
1 parent 3cb655f commit f03c16d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkgdown/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,18 @@ footer {

.sidebar {
float: right;
}

/* hotfix for toc squeezed to bottom issue in vignettes with wide elements */
@media (min-width: 1200px) {
.container {
width: 1320px !important;
}
}

@media (min-width: 576px) {
#toc {
position: relative;
top: 0;
}
}

0 comments on commit f03c16d

Please sign in to comment.