mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7340 from open-sausages/pulls/4.0/toolbar-button-margin
Fix toolbar button margin and spacing
This commit is contained in:
commit
1f5644d143
@ -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()
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -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()
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -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(),
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user