Fix layout issue when using FieldRowPanel with a heading

Resolves #5691
This commit is contained in:
Andreas Bernacca 2019-11-13 21:57:30 +01:00 committed by LB
parent abd8320dc3
commit 5a8f468c2d
3 changed files with 6 additions and 0 deletions

View file

@ -22,6 +22,7 @@ Changelog
* Fix: Moved `get_document_model` location so it can be imported when Models are not yet loaded (Andrey Smirnov)
* Fix: Fixed incorrect HTML escaping of Jinja2 form templates for StructBlocks (Brady Moe)
* Fix: All templates with wagtailsettings and modeladmin now use `block.super` for `extra_js` & `extra_css` (Timothy Bautista)
* Fix: Layout issue when using FieldRowPanel with a heading (Andreas Bernacca)
2.7 LTS (06.11.2019)
~~~~~~~~~~~~~~~~~~~~

View file

@ -36,6 +36,7 @@ Bug fixes
* Moved ``get_document_model`` location so it can be imported when Models are not yet loaded (Andrey Smirnov)
* Fixed incorrect HTML escaping of Jinja2 form templates for StructBlocks (Brady Moe)
* All templates with wagtailsettings and modeladmin now use ``block.super`` for ``extra_js`` & ``extra_css`` (Timothy Bautista)
* Layout issue when using FieldRowPanel with a heading (Andreas Bernacca)
Upgrade considerations

View file

@ -63,6 +63,10 @@ $object-title-height: 40px;
padding-right: 0;
}
.field-row {
padding-top: $object-title-height + 12px;
}
.object-help {
display: block;
position: relative;