Remove padding between Dashlet/Preferences datatables and their parent panel

This commit is contained in:
Stephen Abello
2022-08-10 14:04:39 +02:00
parent 77e9eaba00
commit b43b2e9741
2 changed files with 5 additions and 1 deletions

View File

@@ -1207,6 +1207,7 @@ JS
$sTitle = Dict::Format($sFormat, $iTotalCount);
$oBlock = PanelUIBlockFactory::MakeForClass($aExtraParams["panel_class"], $aExtraParams["panel_title"]);
$oBlock->AddSubTitleBlock(new Html($sTitle));
$oBlock->AddCSSClass('ibo-datatable-panel');
if(isset($aExtraParams["panel_icon"]) && strlen($aExtraParams["panel_icon"]) > 0){
$oBlock->SetIcon($aExtraParams["panel_icon"]);
}