From aa2c76ffe5cc72f85feb385d29e0a7c5c79147c9 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Tue, 18 Oct 2022 20:36:13 +0200 Subject: [PATCH] toc padding --- assets/sass/_theme/design-system/table_of_content.sass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/sass/_theme/design-system/table_of_content.sass b/assets/sass/_theme/design-system/table_of_content.sass index 87cb5a13..0e016472 100644 --- a/assets/sass/_theme/design-system/table_of_content.sass +++ b/assets/sass/_theme/design-system/table_of_content.sass @@ -1,9 +1,10 @@ .toc ol @include list-reset - margin: 0 align-items: flex-start + margin: 0 flex-direction: column + padding-top: $spacing1 li &:not(:last-child) margin-bottom: 1rem @@ -12,8 +13,7 @@ color: $toc-color display: block font-size: px2rem(18) - line-height: px2rem(30) - padding: $spacing1/2 + line-height: px2rem(20) margin-left: -$spacing1/2 margin-right: -$spacing1/2 text-decoration: none -- GitLab