From 95406b712eb2bc93846c56995c0d8d371386a873 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Fri, 30 Jan 2026 10:17:26 +0100 Subject: [PATCH] =?UTF-8?q?FEATURE=20R=C3=A9organisation=20des=20styles=20?= =?UTF-8?q?de=20la=20page=20singuli=C3=A8re=20pour=20am=C3=A9liorer=20la?= =?UTF-8?q?=20mise=20en=20page=20et=20l'alignement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/css/layout/gutenberg.css | 34 +++++++++++++++++------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/resources/css/layout/gutenberg.css b/resources/css/layout/gutenberg.css index 44d1041..2d92f4c 100644 --- a/resources/css/layout/gutenberg.css +++ b/resources/css/layout/gutenberg.css @@ -45,26 +45,30 @@ article > *:not(.entry-content), } } } +.wp-singular.page{ -.site-content { - > :first-child { - @apply !mt-0; - } - > .carhop-heading { - @apply px-4 md:px-0; - } - p, - li { - strong { - @apply font-bold; + .site-content { + > *:not(.alignfull, .alignwide) { + @apply max-w-content mx-auto; + } + > :first-child { + @apply !mt-0; + } + > .carhop-heading { + @apply px-4 md:px-0; + } + p, + li { + strong { + @apply font-bold; + } } } - } -.content-box{ - &__innerblocks{ - .block-editor-inner-blocks{ +.content-box { + &__innerblocks { + .block-editor-inner-blocks { max-width: 960px !important; } }