From 70cc19768ad1b80b2876ecc9fcfcc1a43a9a395b Mon Sep 17 00:00:00 2001 From: acognet Date: Tue, 12 May 2020 14:48:56 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B01953=20-=20Dashlet=20Title=20alignment?= =?UTF-8?q?=20not=20consistent=20:=20Left=20on=20List,=20Center=20on=20Tab?= =?UTF-8?q?le/Pie/Chart?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/dashlet.class.inc.php | 8 ++++---- css/light-grey.scss | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/application/dashlet.class.inc.php b/application/dashlet.class.inc.php index db1cd7596..bd7f19a5a 100644 --- a/application/dashlet.class.inc.php +++ b/application/dashlet.class.inc.php @@ -922,7 +922,7 @@ class DashletObjectList extends Dashlet $sHtmlTitle = utils::HtmlEntities(Dict::S($sTitle)); // done in the itop block if ($sHtmlTitle != '') { - $oPage->add('

'.$sHtmlTitle.'

'); + $oPage->add('

 '.$sHtmlTitle.'

'); } $oFilter = $this->GetDBSearch($aExtraParams); $oBlock = new DisplayBlock($oFilter, 'list'); @@ -1275,7 +1275,7 @@ abstract class DashletGroupBy extends Dashlet $oPage->add('
'); if ($sHtmlTitle != '') { - $oPage->add('

'.$sHtmlTitle.'

'); + $oPage->add('

 '.$sHtmlTitle.'

'); } $sBlockId = 'block_'.$this->sId.($bEditMode ? '_edit' : ''); // make a unique id (edition occuring in the same DOM) $oBlock = new DisplayBlock($oFilter, $sType); @@ -1868,11 +1868,11 @@ class DashletGroupByTable extends DashletGroupBy $iTotal += $aDisplayData['value']; } - $oPage->add('
'); $sBlockId = 'block_fake_'.$this->sId.($bEditMode ? '_edit' : ''); // make a unique id (edition occuring in the same DOM) $oPage->add('
'); + $oPage->add('
'); $oPage->add('

'.Dict::Format('UI:Pagination:HeaderNoSelection', $iTotal).'

'); $oPage->add(''); $oPage->add(''); @@ -1926,7 +1926,7 @@ class DashletHeaderStatic extends Dashlet $oPage->add('
'); $oPage->add(''); - $oPage->add('

'.$this->oModelReflection->DictString($sTitle).'

'); + $oPage->add('

 '.$this->oModelReflection->DictString($sTitle).'

'); $oPage->add('
'); $oPage->add(''); diff --git a/css/light-grey.scss b/css/light-grey.scss index 864323835..1f0676998 100644 --- a/css/light-grey.scss +++ b/css/light-grey.scss @@ -2690,7 +2690,7 @@ td.prop_icon { font-size: 16px; text-decoration: none; } -.dashlet-content .display_block { +.main_header h1 { text-align:left; } .dashlet-unknown, .dashlet-proxy {