better capsule (aka footnotes) positionning
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% apply footnotes_spaceless %}
|
||||
{# footnotes/footnote-link.html.twig #}
|
||||
<div class="footnote__citation js-footnote-citation" id="{{ fn.ref_id }}">
|
||||
{{ fn.value|render|trim }}
|
||||
<aside class="footnote-content">{{ fn.text }}</aside>
|
||||
<span class="footnote-link">{{ fn.value|render|trim }}</span>
|
||||
<template class="footnote-content">{{ fn.text }}</template>
|
||||
</div>
|
||||
{% endapply %}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{% apply footnotes_spaceless %}
|
||||
{# footnotes/footnote-links.html.twig #}
|
||||
{%- if footnote_links -%}
|
||||
<span class="footnote__citations-wrapper">
|
||||
<div class="footnote__citations-wrapper">
|
||||
{%- for footnote_link in footnote_links -%}
|
||||
{% if not loop.first %}
|
||||
<span class="footnote__citation-separator">, </span>
|
||||
{% endif %}
|
||||
{{ footnote_link }}
|
||||
{%- endfor -%}
|
||||
</span>
|
||||
</div>
|
||||
{%- endif -%}
|
||||
{% endapply %}
|
||||
|
||||
Reference in New Issue
Block a user