mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Fix page form layout
This commit is contained in:
parent
38b095ca2c
commit
712849c732
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user