From a616b611d2c908cde845becb6e1c67b9cd2b3695 Mon Sep 17 00:00:00 2001 From: Kaitlin Newson Date: Fri, 21 Jan 2022 12:57:36 -0500 Subject: [PATCH 1/2] reduce margins for nested lists --- _sass/components/book.scss | 6 ++++++ dev/upgrade-guide/en/index.md | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/_sass/components/book.scss b/_sass/components/book.scss index 583b6937f875..531b04888d14 100644 --- a/_sass/components/book.scss +++ b/_sass/components/book.scss @@ -79,6 +79,12 @@ margin-bottom: 2em; } + ol ul, + ul ul { + margin-top: 1em; + margin-bottom: 1em; + } + li { line-height: 1.8em; } diff --git a/dev/upgrade-guide/en/index.md b/dev/upgrade-guide/en/index.md index ab6208e6e5d4..fe3457957f11 100644 --- a/dev/upgrade-guide/en/index.md +++ b/dev/upgrade-guide/en/index.md @@ -314,7 +314,6 @@ It's important to test the site after an upgrade. Any core functions for your jo The following is a short checklist that covers common use cases. -``` 1. Reader interface - The homepage loads - The theme loads correctly @@ -350,7 +349,6 @@ The following is a short checklist that covers common use cases. - Change new user's profile data and password - Remove the new user by merging it to your admin account 6. Additional testing of common tasks -``` ### 11. Restore Custom Plugins From 82fe97987d490434cf9e99cf22b93dd609b37814 Mon Sep 17 00:00:00 2001 From: Kaitlin Newson Date: Mon, 24 Jan 2022 14:35:32 -0500 Subject: [PATCH 2/2] adjust spacing, capture other nested lists --- _sass/components/book.scss | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/_sass/components/book.scss b/_sass/components/book.scss index 531b04888d14..9bce256319e7 100644 --- a/_sass/components/book.scss +++ b/_sass/components/book.scss @@ -80,9 +80,11 @@ } ol ul, - ul ul { - margin-top: 1em; - margin-bottom: 1em; + ul ul, + ol ol, + ul ol { + margin-top: 0.5rem; + margin-bottom: 0.5rem; } li { @@ -90,7 +92,7 @@ } li + li { - margin-top: 1em; + margin-top: 0.5rem; } blockquote {