mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
Positioning the 'Next' buttonn so it doesn't overlap with other elements (#7716)
* Positioning the 'Next' buttonn so it doesn't overlap with other elements * CHANGELOG_BEGIN CHANGELOG_END
This commit is contained in:
parent
60fe244e1b
commit
6a452c184f
3
docs/theme/da_theme_skeleton/footer.html
vendored
3
docs/theme/da_theme_skeleton/footer.html
vendored
@ -5,7 +5,7 @@
|
||||
{% if (theme_prev_next_buttons_location == 'bottom' or theme_prev_next_buttons_location == 'both') and (next or prev) %}
|
||||
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
||||
{% if next %}
|
||||
<a href="{{ next.link|e }}" class="btn btn-neutral float-right btn-next" title="{{ next.title|striptags|e }}" accesskey="n" rel="next">{{ _('Next') }} <span class="fa fa-arrow-circle-right"></span></a>
|
||||
<a href="{{ next.link|e }}" class="btn btn-neutral btn-next" title="{{ next.title|striptags|e }}" accesskey="n" rel="next">{{ _('Next') }} <span class="fa fa-arrow-circle-right"></span></a>
|
||||
{% endif %}
|
||||
{% if prev %}
|
||||
<a href="{{ prev.link|e }}" class="btn btn-neutral float-left btn-prev" title="{{ prev.title|striptags|e }}" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> {{ _('Previous') }}</a>
|
||||
@ -52,4 +52,3 @@
|
||||
{%- block extrafooter %} {% endblock %}
|
||||
|
||||
</footer>
|
||||
|
||||
|
3
docs/theme/sass/_theme_layout.sass
vendored
3
docs/theme/sass/_theme_layout.sass
vendored
@ -2370,3 +2370,6 @@ a.copybtn.o-tooltip--left
|
||||
|
||||
.btn.btn-next, .btn.btn-prev
|
||||
padding: .4em .8em
|
||||
|
||||
.btn.btn-next,
|
||||
margin-left: 20px
|
||||
|
Loading…
Reference in New Issue
Block a user