Fix toolbar button margin and spacing

This commit is contained in:
Saophalkun Ponlu 2017-09-05 15:08:05 +12:00
parent 6f7b0d9ae0
commit 2f7f4e73d9
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(),
);
}