mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-26 02:40:24 +00:00
Upgrade consideration note for #2524
This commit is contained in:
parent
2c69a720c1
commit
91e81d6bc0
1 changed files with 6 additions and 0 deletions
|
|
@ -69,6 +69,12 @@ Bug fixes
|
|||
Upgrade considerations
|
||||
======================
|
||||
|
||||
Buttons in admin now require ``class="button"``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The Wagtail admin CSS has been refactored for maintainability, and buttons now require an explicit ``button`` class. (Previously, the styles were applied on all inputs of type ``"submit"``, ``"reset"`` or ``"button"``.) If you have created any apps that extend the Wagtail admin with new views / templates, you will need to add this class to all buttons.
|
||||
|
||||
|
||||
The ``search_fields`` attribute on models should now be set to a list
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue