Fix page form layout

This commit is contained in:
Christopher Joe 2016-10-11 10:12:46 +13:00 committed by Damian Mooyman
parent 38b095ca2c
commit 712849c732

View File

@ -734,6 +734,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
if ($record instanceof CMSPreviewable) {
$form->addExtraClass('cms-previewable');
}
$form->addExtraClass('fill-height flexbox-area-grow');
if(!$record->canEdit() || $deletedFromStage) {
$readonlyFields = $form->Fields()->makeReadonly();