Added a sticky footer (#407)

* Added a sticky footer.

* Returned the semantics to django
This commit is contained in:
Pavel Torbeev 2020-06-10 15:21:49 +03:00 committed by GitHub
parent 788616d70c
commit 6b44a52933
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -26,3 +26,9 @@
.item-name:hover .item-anchor {
visibility: visible;
}
.sticky-footer {
position: sticky;
width: 100%;
left: 0;
bottom: 0;
}

View file

@ -57,7 +57,7 @@
{% include "admin/constance/includes/results_list.html" %}
{% endif %}
<p class="paginator">
<p class="paginator sticky-footer">
<input type="submit" name="_save" class="default" value="{% trans 'Save' %}"/>
</p>
</form>