STYLE Refining text-align behaviour
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-07-15 10:48:12 +02:00
parent 1e8e061017
commit 951c19e2ea

View File

@ -1,6 +1,6 @@
.carhop-heading { .carhop-heading {
&__innerblocks { &__innerblocks {
@apply max-w-screen-2xl mx-auto flex flex-col justify-center gap-8; @apply alignwide !mx-auto flex flex-col justify-center gap-8;
} }
&--align-center { &--align-center {
@ -20,7 +20,16 @@
h4, h4,
h5, h5,
h6 { h6 {
@apply font-light uppercase tracking-wider max-w-4xl mx-auto !text-5xl; @apply font-light uppercase tracking-wider max-w-4xl !text-5xl;
line-height: 1.2 !important; line-height: 1.2 !important;
} }
h1.has-text-align-center,
h2.has-text-align-center,
h3.has-text-align-center,
h4.has-text-align-center,
h5.has-text-align-center,
h6.has-text-align-center {
@apply mx-auto;
}
} }