mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #1376 from dhensby/pulls/3/fix-action-alignment
FIX Borders on CMS Actions
This commit is contained in:
commit
d8bf0ab327
@ -2213,7 +2213,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
||||
$existsOnLive = $this->getExistsOnLive();
|
||||
|
||||
// Major actions appear as buttons immediately visible as page actions.
|
||||
$majorActions = CompositeField::create()->setName('MajorActions')->setTag('fieldset')->addExtraClass('ss-ui-buttonset');
|
||||
$majorActions = CompositeField::create()->setName('MajorActions')->setTag('fieldset')->addExtraClass('ss-ui-buttonset noborder');
|
||||
|
||||
// Minor options are hidden behind a drop-up and appear as links (although they are still FormActions).
|
||||
$rootTabSet = new TabSet('ActionMenus');
|
||||
@ -2222,7 +2222,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
||||
_t('SiteTree.MoreOptions', 'More options', 'Expands a view for more buttons')
|
||||
);
|
||||
$rootTabSet->push($moreOptions);
|
||||
$rootTabSet->addExtraClass('ss-ui-action-tabset action-menus');
|
||||
$rootTabSet->addExtraClass('ss-ui-action-tabset action-menus noborder');
|
||||
|
||||
// Render page information into the "more-options" drop-up, on the top.
|
||||
$live = Versioned::get_one_by_stage('SiteTree', 'Live', array(
|
||||
|
Loading…
Reference in New Issue
Block a user