From 25978f51ab25efe68da2c2ffeb2b9847db9eb8c2 Mon Sep 17 00:00:00 2001 From: Olivia206 <olivia.simonet@mmibordeaux.com> Date: Tue, 13 Dec 2022 11:16:24 +0100 Subject: [PATCH] fixed categories list --- assets/sass/_theme/_utils.sass | 8 +------- assets/sass/_theme/sections/categories.sass | 7 +++++-- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/assets/sass/_theme/_utils.sass b/assets/sass/_theme/_utils.sass index 8843cd15..f80cc7cc 100644 --- a/assets/sass/_theme/_utils.sass +++ b/assets/sass/_theme/_utils.sass @@ -231,13 +231,7 @@ align-items: baseline display: flex justify-content: space-between - a:first-child, p:first-child - > .title - & + a - // & + p // Cas particulier - margin-left: $spacing1 - // text-align: right // Cas particulier - // white-space: nowrap // Cas particulier + @mixin visually-hidden clip: rect(0,0,0,0) !important diff --git a/assets/sass/_theme/sections/categories.sass b/assets/sass/_theme/sections/categories.sass index f6218cdf..e6f6767b 100644 --- a/assets/sass/_theme/sections/categories.sass +++ b/assets/sass/_theme/sections/categories.sass @@ -1,4 +1,7 @@ ul.categories @include list-section - article - @include article \ No newline at end of file + li + a:first-child + & + p + text-align: right + white-space: nowrap \ No newline at end of file -- GitLab