aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorTiger Oakes <contact@tigeroakes.com>2021-01-26 09:45:08 -0800
committerGitHub <noreply@github.com>2021-01-26 18:45:08 +0100
commit012ccee53d9154e4143f86ba40e492075db861ce (patch)
tree06b1689007c31f939fc4c3303f66d21acc1a0189 /assets
parenta12baf0e01646e597c49ec5ee15819481d9f3b8d (diff)
Add before and after partials for toc (#296)
Closes #257
Diffstat (limited to 'assets')
-rw-r--r--assets/_main.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/_main.scss b/assets/_main.scss
index 652ff1a..1440f6f 100644
--- a/assets/_main.scss
+++ b/assets/_main.scss
@@ -209,7 +209,7 @@ ul.pagination {
flex: 0 0 $toc-width;
font-size: $font-size-12;
- nav {
+ > nav {
width: $toc-width;
padding: $padding-16;
@@ -377,7 +377,7 @@ aside nav,
@media screen and (min-width: $container-max-width) {
.book-page,
.book-menu nav,
- .book-toc nav {
+ .book-toc > nav {
padding: $padding-16 * 2 $padding-16;
}
}