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