kopia lustrzana https://github.com/wagtail/wagtail
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
rodzic
b6c5eaccfc
commit
a459e91692
|
@ -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
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
@ -417,6 +417,7 @@ Contributors
|
|||
* kailwallin
|
||||
* ryanomor
|
||||
* Thijs Baaijen
|
||||
* Igor van Spengen
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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
|
||||
======================
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Ładowanie…
Reference in New Issue