Fix images being too wide in HTML fields and caselogs in the end-users portal

Regression introduced in a previous version of iTop.
This commit is contained in:
Molkobain
2020-02-17 16:29:21 +01:00
parent a127ca9ca0
commit dba6e8ce1a
2 changed files with 5 additions and 5 deletions

View File

@@ -39,6 +39,7 @@ class BsFieldRenderer extends FieldRenderer
public function Render()
{
$oOutput = parent::Render();
$oOutput->AddCssClass('form_field');
$oOutput->AddCssClass('form_field_'.$this->oField->GetDisplayMode());
return $oOutput;