mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 15:34:12 +01:00
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:
@@ -1116,6 +1116,10 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
|
||||
color: $brand-primary;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.form_field .form-control-static img{
|
||||
max-width: 100% !important;
|
||||
height: initial !important;
|
||||
}
|
||||
/* ExternalKey */
|
||||
.selectobject .input-group-addon{
|
||||
cursor: pointer;
|
||||
@@ -1345,11 +1349,6 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.form_field .form-control-static img{
|
||||
max-width: 100% !important;
|
||||
height: initial !important;
|
||||
}
|
||||
|
||||
.form_buttons{
|
||||
padding-top: 20px;
|
||||
text-align: center;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user