Merge pull request #7340 from open-sausages/pulls/4.0/toolbar-button-margin

Fix toolbar button margin and spacing
This commit is contained in:
Chris Joe 2017-09-05 16:07:32 +12:00 committed by GitHub
commit 1f5644d143
3 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ class GridFieldExportButton implements GridField_HTMLProvider, GridField_ActionP
$button->addExtraClass('btn btn-secondary no-ajax font-icon-down-circled action_export');
$button->setForm($gridField->getForm());
return array(
$this->targetFragment => '<p class="grid-csv-button">' . $button->Field() . '</p>',
$this->targetFragment => $button->Field()
);
}

View File

@ -90,7 +90,7 @@ class GridFieldImportButton implements GridField_HTMLProvider
}
return array(
$this->targetFragment => '<p class="grid-csv-button">'. $button->Field() . '</p>'
$this->targetFragment => $button->Field()
);
}

View File

@ -71,7 +71,7 @@ class GridFieldPrintButton implements GridField_HTMLProvider, GridField_ActionPr
$button->addExtraClass('font-icon-print btn btn-secondary');
return array(
$this->targetFragment => '<p class="grid-print-button">' . $button->Field() . '</p>',
$this->targetFragment => $button->Field(),
);
}