From eeccc2ef1090d4e0bffa4fda901aede322b0b671 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Wed, 18 May 2022 13:28:34 +0100 Subject: [PATCH] Readjusted book child item styles after other changes Was extra space showing due to structure changes and flex gap. --- resources/sass/_lists.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/sass/_lists.scss b/resources/sass/_lists.scss index 3569ed3db..4521e7fd4 100644 --- a/resources/sass/_lists.scss +++ b/resources/sass/_lists.scss @@ -6,7 +6,7 @@ justify-self: stretch; align-self: stretch; height: auto; - margin-inline-end: $-l; + margin-inline-end: $-xs; } .icon:after { opacity: 0.5; @@ -58,7 +58,7 @@ } .chapter-expansion-toggle { border-radius: 0 4px 4px 0; - padding: $-xs $-m; + padding: $-xs ($-m + $-xxs); width: 100%; text-align: start; } @@ -448,7 +448,7 @@ ul.pagination { } } -.card .entity-list-item:not(.no-hover):hover { +.card .entity-list-item:not(.no-hover, .book-contents .entity-list-item):hover { @include lightDark(background-color, #F2F2F2, #2d2d2d); border-radius: 0; }