mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix toolbar button margin and spacing
This commit is contained in:
parent
6f7b0d9ae0
commit
2f7f4e73d9
@ -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