fix: spacing between slides and video on talk pages

This commit is contained in:
Oliver Davies 2021-12-10 17:43:00 +00:00
parent 35d3bae3a3
commit f1a70be296
3 changed files with 9 additions and 3 deletions

View file

@ -39,6 +39,7 @@
{% {%
set title_classes = [ set title_classes = [
label_display == 'visually_hidden' ? 'visually-hidden', label_display == 'visually_hidden' ? 'visually-hidden',
'mb-2',
] ]
%} %}

View file

@ -39,6 +39,7 @@
{% {%
set title_classes = [ set title_classes = [
label_display == 'visually_hidden' ? 'visually-hidden', label_display == 'visually_hidden' ? 'visually-hidden',
'mb-2',
] ]
%} %}

View file

@ -70,7 +70,7 @@
* in different view modes. * in different view modes.
*/ */
#} #}
<article{{ attributes.addClass('markdown') }}> <article{{ attributes }}>
{{ title_prefix }} {{ title_prefix }}
{% if not page %} {% if not page %}
<h2{{ title_attributes }}> <h2{{ title_attributes }}>
@ -89,7 +89,11 @@
</footer> </footer>
{% endif %} {% endif %}
<div{{ content_attributes }}> <div class="space-y-6">
{{ content }} <div{{ content_attributes.addClass('markdown') }}>
{{ content.body }}
</div>
{{ content|without('body') }}
</div> </div>
</article> </article>