Debug v23
This commit is contained in:
parent
7c917ef07c
commit
2d8a187e5d
2 changed files with 2 additions and 1 deletions
|
|
@ -5586,7 +5586,7 @@ class Societe extends CommonObject
|
|||
$return .= '<div class="info-box info-box-sm">';
|
||||
$return .= '<span class="info-box-icon bg-infobox-action">';
|
||||
if (!empty($this->logo) && class_exists('Form')) {
|
||||
$return .= Form::showphoto('societe', $this, 0, 40, 0, 'photoref', 'mini', 0); // Important, we must force height so image will have height tags and if image is inside a tooltip, the tooltip manager can calculate height and position correctly the tooltip.
|
||||
$return .= Form::showphoto('societe', $this, 0, 40, 0, 'photokanban', 'mini', 0); // Important, we must force height so image will have height tags and if image is inside a tooltip, the tooltip manager can calculate height and position correctly the tooltip.
|
||||
} else {
|
||||
$return .= img_picto('', $this->picto);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2933,6 +2933,7 @@ img.photoref, div.photoref {
|
|||
width: 80px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
img.photokanban, div.photokanban {
|
||||
padding: 0;
|
||||
border: none;
|
||||
|
|
|
|||
Loading…
Reference in a new issue