From 012ccee53d9154e4143f86ba40e492075db861ce Mon Sep 17 00:00:00 2001 From: Tiger Oakes Date: Tue, 26 Jan 2021 09:45:08 -0800 Subject: Add before and after partials for toc (#296) Closes #257 --- assets/_main.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assets/_main.scss') 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; } } -- cgit v1.2.3