mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix profile layout
This commit is contained in:
parent
20cee73583
commit
5a5d62fa27
@ -49,7 +49,7 @@ class CMSProfileController extends LeftAndMain {
|
||||
$form->Fields()->findOrMakeTab('Root')->setTemplate('SilverStripe\\Forms\\CMSTabSet');
|
||||
}
|
||||
|
||||
$form->addExtraClass('member-profile-form root-form cms-edit-form center');
|
||||
$form->addExtraClass('member-profile-form root-form cms-edit-form center fill-height');
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
@ -1589,6 +1589,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
|
||||
if ($record instanceof CMSPreviewable) {
|
||||
$form->addExtraClass('cms-previewable');
|
||||
}
|
||||
$form->addExtraClass('fill-height');
|
||||
|
||||
// Set this if you want to split up tabs into a separate header row
|
||||
// if($form->Fields()->hasTabset()) {
|
||||
|
Loading…
Reference in New Issue
Block a user