FEATURE Handling a stroked after style variation
This commit is contained in:
parent
15a56b1754
commit
1cdc73df2a
|
|
@ -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 */
|
||||
|
|
|
|||
9
resources/css/blocks/wp-block-heading.css
Normal file
9
resources/css/blocks/wp-block-heading.css
Normal 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;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user