Merge pull request #49 from open-sausages/pulls/4.0/alignment-and-spacing

Alignment and spacing of main CMS panels
This commit is contained in:
Will Rossiter 2016-09-19 19:05:45 +12:00 committed by GitHub
commit 3b32047f28
2 changed files with 2 additions and 7 deletions

View File

@ -240,7 +240,7 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider
$actions = new FieldList();
$form = new Form($this, "EditForm", $fields, $actions);
$form->addExtraClass('cms-edit-form cms-panel-padded center ' . $this->BaseCSSClasses());
$form->addExtraClass('panel panel--padded panel--scrollable cms-edit-form cms-panel-padded' . $this->BaseCSSClasses());
$form->loadDataFrom($this->request->getVars());
$this->extend('updateEditForm', $form);

View File

@ -14,10 +14,5 @@
return false;
}
});
$('.ReportAdmin').css({
'overflow-y': 'scroll',
'padding-top': 0
});
});
})(jQuery);