Fix submenu footer blocking items in admin

- items longer then the page height are no longer broken by the submenu footer
- long lists of submenu items are no longer blocked by the footer (version number)
pull/5659/head
Igoranze 2019-10-07 17:05:44 +02:00 zatwierdzone przez LB Johnston
rodzic b6c5eaccfc
commit a459e91692
5 zmienionych plików z 13 dodań i 1 usunięć

Wyświetl plik

@ -7,6 +7,7 @@ Changelog
* Removed leftover Python 2.x compatibility code (Sergey Fedoseev)
* Combine flake8 configurations (Sergey Fedoseev)
* Fix: Rename documents listing column 'uploaded' to 'created' (LB (Ben Johnston))
* Fix: Submenu items longer then the page height are no longer broken by the submenu footer (Igor van Spengen)
2.7 LTS (xx.xx.xxxx) - IN DEVELOPMENT
~~~~~~~~~~~~~~~~~~~~

Wyświetl plik

@ -417,6 +417,7 @@ Contributors
* kailwallin
* ryanomor
* Thijs Baaijen
* Igor van Spengen
Translators
===========

Wyświetl plik

@ -388,6 +388,10 @@ body.explorer-open {
width: $menu-width;
}
ul {
position: relative;
}
h2 {
display: block;
padding: 0.2em 0;
@ -409,6 +413,11 @@ body.explorer-open {
.footer {
position: absolute;
&-submenu {
position: sticky;
max-height: unset;
}
}
}

Wyświetl plik

@ -23,6 +23,7 @@ Bug fixes
* Removed leftover Python 2.x compatibility code (Sergey Fedoseev)
* Combine flake8 configurations (Sergey Fedoseev)
* Rename documents listing column 'uploaded' to 'created' (LB (Ben Johnston))
* Submenu items longer then the page height are no longer broken by the submenu footer (Igor van Spengen)
Upgrade considerations
======================

Wyświetl plik

@ -2,7 +2,7 @@
{% load wagtailcore_tags %}
{% block menu_footer %}
<li class="footer">
<li class="footer footer-submenu">
<div class="menu-item"><p class="wagtail-version">Wagtail v.{% wagtail_version %}</p></div>
</li>
{% endblock %}