This commit is contained in:
Joe Nelson 2025-02-20 06:27:48 -08:00 committed by GitHub
commit 45f8edff61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 5 deletions

View File

@ -3,10 +3,12 @@
{#- Translators: This is an ARIA section label for the footer section of the page. -#} {#- Translators: This is an ARIA section label for the footer section of the page. -#}
<div class="rst-footer-buttons" role="navigation" aria-label="{{ _('Footer') }}"> <div class="rst-footer-buttons" role="navigation" aria-label="{{ _('Footer') }}">
{%- if prev %} {%- if prev %}
<a href="{{ prev.link|e }}" class="btn btn-neutral float-left" title="{{ prev.title|striptags|e }}" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> {{ _('Previous') }}</a> <a href="{{ prev.link|e }}" class="btn btn-neutral" title="{{ prev.title|striptags|e }}" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> {{ _('Previous') }}</a>
{%- else %}
<div class="placeholder"></div>
{%- endif %} {%- endif %}
{%- if next %} {%- if next %}
<a href="{{ next.link|e }}" class="btn btn-neutral float-right" title="{{ next.title|striptags|e }}" accesskey="n" rel="next">{{ _('Next') }} <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> <a href="{{ next.link|e }}" class="btn btn-neutral" title="{{ next.title|striptags|e }}" accesskey="n" rel="next">{{ _('Next') }} <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
{%- endif %} {%- endif %}
</div> </div>
{%- endif %} {%- endif %}

View File

@ -396,9 +396,12 @@ footer
color: $footer-color color: $footer-color
.rst-footer-buttons .rst-footer-buttons
&:before, &:after display: -ms-flexbox
width: 100% display: flex
+clearfix -ms-flex-direction: row
flex-direction: row
-ms-flex-pack: space-between
justify-content: space-between
.rst-breadcrumbs-buttons .rst-breadcrumbs-buttons
margin-top: 12px margin-top: 12px