From 052a0b9aa1d9f3813cf3f38c5e4b2589c2e5d7ba Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Mon, 10 Jul 2023 17:33:17 +0200 Subject: [PATCH] fix block pages --- assets/sass/_theme/_utils.sass | 1 + assets/sass/_theme/blocks/pages.sass | 17 ++++++----------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/assets/sass/_theme/_utils.sass b/assets/sass/_theme/_utils.sass index 462abd36..0478716b 100644 --- a/assets/sass/_theme/_utils.sass +++ b/assets/sass/_theme/_utils.sass @@ -330,6 +330,7 @@ @mixin top-flex @include in-page-without-sidebar + align-items: basline display: flex .block-title width: col(4) diff --git a/assets/sass/_theme/blocks/pages.sass b/assets/sass/_theme/blocks/pages.sass index 5002944c..c928fce4 100644 --- a/assets/sass/_theme/blocks/pages.sass +++ b/assets/sass/_theme/blocks/pages.sass @@ -1,5 +1,6 @@ .block-pages .top + @include top-flex a text-decoration: none .grid, .cards @@ -39,17 +40,11 @@ @include in-page-without-sidebar .top - @include grid - .block-title - grid-column: 1 / 5 - a - @include icon(arrow, after, true) - @include hover-translate-icon - .description - @include h2 - grid-column: 5 / 13 - margin-top: -0.25em - font-style: $h2-size-desktop + a + @include icon(arrow, after, true) + @include hover-translate-icon + .description + @include h2 &--grid .grid -- GitLab