FEATURE Handling a stroked after style variation

This commit is contained in:
Antoine M 2025-11-26 12:01:32 +01:00
parent 15a56b1754
commit 1cdc73df2a
2 changed files with 20 additions and 1 deletions

View File

@ -1,7 +1,7 @@
.carhop-heading {
@apply pb-8;
&__innerblocks {
@apply alignwide !mx-auto flex flex-col justify-center gap-6;
@apply alignwide !mx-auto flex flex-col justify-center gap-6 !my-0;
}
&--align-center {
@ -62,6 +62,16 @@
@apply !text-4xl fjalla !tracking-wider font-normal;
}
}
&.is-style-stroked-after {
@apply flex items-end gap-4;
overflow-wrap: anywhere;
&:after {
@apply flex-auto border-b-2 border-primary border-solid mb-2;
content: '';
display: block;
}
}
}
/* test */

View File

@ -0,0 +1,9 @@
.wp-block-heading.is-style-stroked-after {
@apply flex items-end gap-2;
overflow-wrap: anywhere;
&:after {
@apply flex-auto border-b border-primary border-solid mb-2;
content: '';
display: block;
}
}