Fix spacing issues in various places
This commit is contained in:
parent
d7aaeb0ca6
commit
2b061539d5
|
@ -90,11 +90,11 @@
|
|||
}
|
||||
|
||||
* + h2 {
|
||||
@apply mt-8
|
||||
@apply mt-6
|
||||
}
|
||||
|
||||
h2 + * {
|
||||
@apply mt-4
|
||||
@apply mt-3
|
||||
}
|
||||
|
||||
h3 {
|
||||
|
|
|
@ -25,13 +25,15 @@
|
|||
* @see template_preprocess_block()
|
||||
*/
|
||||
#}
|
||||
<div{{ attributes.addClass('mt-4 first:mt-0') }}>
|
||||
<section{{ attributes.addClass('mt-6 first:mt-0') }}>
|
||||
{{ title_prefix }}
|
||||
{% if label %}
|
||||
<h2{{ title_attributes }}>{{ label }}</h2>
|
||||
<h2{{ title_attributes.addClass('mb-3') }}>
|
||||
{{ label }}
|
||||
</h2>
|
||||
{% endif %}
|
||||
{{ title_suffix }}
|
||||
{% block content %}
|
||||
{{ content }}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
</footer>
|
||||
{% endif %}
|
||||
|
||||
<div{{ content_attributes.addClass('space-y-4') }}>
|
||||
<div{{ content_attributes.addClass(['space-y-6', page ? 'markup']) }}>
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
</footer>
|
||||
{% endif %}
|
||||
|
||||
<div{{ content_attributes.addClass('node-content') }}>
|
||||
<div{{ content_attributes.addClass('node-content space-y-6') }}>
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue