Skip to content

Commit 0031a5d

Browse files
committed
fixed sidebar and updated theme version
1 parent 7589772 commit 0031a5d

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

_pkgdown.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ title: BugSigDB Stats and Analysis
66
url: http://waldronlab.io/BugSigDBStats
77

88
template:
9+
bootstrap: 5
10+
bootswatch: flatly
911
params:
10-
bootswatch: flatly
12+
toc: true
13+
includes:
14+
after: pkgdown/extra.css
1115

1216
navbar:
1317
title: ~

pkgdown/extra.css

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* Reduce navbar height */
2+
.navbar {
3+
min-height: 50px !important; /* Adjust as needed */
4+
padding-top: 5px;
5+
padding-bottom: 5px;
6+
}
7+
8+
/* Adjust menu items */
9+
.navbar-nav > li > a {
10+
padding-top: 10px;
11+
padding-bottom: 10px;
12+
}
13+
14+
/* Prevent content from being cut off */
15+
body {
16+
padding-top: 20px; /* Adjust to match navbar height */
17+
}

vignettes/BugSigDBStats.Rmd

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ output:
88
html_document:
99
mathjax: null
1010
toc: true
11+
toc_depth: 2
1112
toc_float: true
1213
---
1314

0 commit comments

Comments
 (0)