diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php
index d3522a0ba12..31a7f7bf76d 100644
--- a/htdocs/societe/class/societe.class.php
+++ b/htdocs/societe/class/societe.class.php
@@ -5586,7 +5586,7 @@ class Societe extends CommonObject
$return .= '
';
$return .= '';
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);
}
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index f00ef50a65d..54ec484dccc 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -2933,6 +2933,7 @@ img.photoref, div.photoref {
width: 80px;
object-fit: contain;
}
+
img.photokanban, div.photokanban {
padding: 0;
border: none;