mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-27 14:14:11 +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;
|
color: $brand-primary;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
|
.form_field .form-control-static img{
|
||||||
|
max-width: 100% !important;
|
||||||
|
height: initial !important;
|
||||||
|
}
|
||||||
/* ExternalKey */
|
/* ExternalKey */
|
||||||
.selectobject .input-group-addon{
|
.selectobject .input-group-addon{
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -1345,11 +1349,6 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
|
|||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form_field .form-control-static img{
|
|
||||||
max-width: 100% !important;
|
|
||||||
height: initial !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form_buttons{
|
.form_buttons{
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ class BsFieldRenderer extends FieldRenderer
|
|||||||
public function Render()
|
public function Render()
|
||||||
{
|
{
|
||||||
$oOutput = parent::Render();
|
$oOutput = parent::Render();
|
||||||
|
$oOutput->AddCssClass('form_field');
|
||||||
$oOutput->AddCssClass('form_field_'.$this->oField->GetDisplayMode());
|
$oOutput->AddCssClass('form_field_'.$this->oField->GetDisplayMode());
|
||||||
|
|
||||||
return $oOutput;
|
return $oOutput;
|
||||||
|
|||||||
Reference in New Issue
Block a user