Convert elementsWithXLBlockMargins to a slice that's joined with ", "
This commit is contained in:
parent
b7ae6211ce
commit
e8daeda08b
1 changed files with 17 additions and 1 deletions
|
@ -61,7 +61,23 @@ hr {
|
||||||
|
|
||||||
/* Figures */
|
/* Figures */
|
||||||
|
|
||||||
{{- $elementsWithXLBlockMargins := "blockquote, table, .codeblock, .figure--main-column, .figure--code, .figure--image, .figure--video, .figure--youtube, .highlight" -}}
|
{{-
|
||||||
|
$elementsWithXLBlockMargins := delimit
|
||||||
|
(slice
|
||||||
|
"blockquote"
|
||||||
|
"table"
|
||||||
|
".codeblock"
|
||||||
|
".figure"
|
||||||
|
".figure--main-column"
|
||||||
|
".figure--code"
|
||||||
|
".figure--image"
|
||||||
|
".figure--video"
|
||||||
|
".figure--youtube"
|
||||||
|
".highlight"
|
||||||
|
".instagram-media"
|
||||||
|
)
|
||||||
|
", "
|
||||||
|
-}}
|
||||||
|
|
||||||
p + :is({{ $elementsWithXLBlockMargins }}) {
|
p + :is({{ $elementsWithXLBlockMargins }}) {
|
||||||
margin-block-start: var(--space-xl);
|
margin-block-start: var(--space-xl);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue