FEATURE adding a padding opn entry-content and adapting alignfull blocks not to be pushed

This commit is contained in:
Antoine M 2026-04-08 16:45:42 +02:00
parent a84dec6d94
commit ce9a059cb9
3 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,7 @@
.page-header {
@apply bg-primary text-white py-16 items-center relative;
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
&--has-overlap {
@apply pb-64 -mb-48;

View File

@ -1,5 +1,7 @@
.post-header {
@apply bg-primary text-white py-8 2xl:py-16 px-2 lg:px-4 md:px-8 overflow-x-hidden;
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
&:has(.post-header__inner--has-thumbnail) {
@apply pb-16 2xl:!pb-20;

View File

@ -3,6 +3,11 @@ article > *:not(.entry-content),
@apply mx-auto max-w-content;
}
.site-content,
.entry-content {
@apply px-4;
}
.entry-content,
.block-editor-block-list__layout {
h1 {