From ccfc97eb294e6275d96e932604d98376f3bc4e43 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 17 Jan 2024 16:38:35 +0100 Subject: [PATCH] cleaning lineskips --- .../posts-components/chapter-header.css | 3 ++- .../posts-components/chapter-header.php | 14 -------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/template-components/posts-components/chapter-header.css b/template-components/posts-components/chapter-header.css index 7fa4dc3..8bf4289 100644 --- a/template-components/posts-components/chapter-header.css +++ b/template-components/posts-components/chapter-header.css @@ -1,6 +1,6 @@ .post-chapter-header { @apply p-8 md:px-16 mt-8 max-w-screen-2xl - flex + md:flex justify-between items-center mx-auto rounded-2xl; @@ -8,6 +8,7 @@ margin-bottom: 20px; &__page-thematic-cover { + @apply max-h-[200px] md:max-h-[400px]; max-width: 400px; } &__page-thematic-title { diff --git a/template-components/posts-components/chapter-header.php b/template-components/posts-components/chapter-header.php index 7da7116..bdf3875 100644 --- a/template-components/posts-components/chapter-header.php +++ b/template-components/posts-components/chapter-header.php @@ -12,29 +12,15 @@ $thematique_generale_id_fr = apply_filters('wpml_object_id', $thematique_general $thematique_picture = get_field('taxonomy_pictures', "thematiques_" . $thematique_generale_id_fr)['illustration_s'] ?? null; $lastUpdate = get_the_modified_date('', get_the_ID()); - - ?> -

">

- '; - // print_r($args['title']); - // print_r("YOOOOOO"); - // echo ''; - - ?>

- - - -
\ No newline at end of file