From 7334947d546ad24662c2ac80d839d30c0b70b523 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 23 Oct 2019 18:56:54 +0200 Subject: [PATCH] use only 33% for image --- lam/lib/modules/inetOrgPerson.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lam/lib/modules/inetOrgPerson.inc b/lam/lib/modules/inetOrgPerson.inc index f34c60c7..108ec3a5 100644 --- a/lam/lib/modules/inetOrgPerson.inc +++ b/lam/lib/modules/inetOrgPerson.inc @@ -1178,8 +1178,8 @@ class inetOrgPerson extends baseModule implements passwordService { $this->initCache(); $container = new htmlResponsiveRow(); $fieldContainer = new htmlResponsiveRow(); - $fieldTabletColumns = $this->isBooleanConfigOptionSet('inetOrgPerson_hidejpegPhoto') ? 12 : 6; - $container->add($fieldContainer, 12, $fieldTabletColumns); + $fieldTabletColumns = $this->isBooleanConfigOptionSet('inetOrgPerson_hidejpegPhoto') ? 12 : 8; + $container->add($fieldContainer, 12, 12, $fieldTabletColumns); // uid if (!$this->isUnixActive() && !$this->isBooleanConfigOptionSet('inetOrgPerson_hideUID')) { if ($this->isAdminReadOnly('uid')) { @@ -1598,7 +1598,7 @@ class inetOrgPerson extends baseModule implements passwordService { $imageContainer->addElement(new htmlButton('delPhoto', _('Delete photo'))); } } - $container->add($imageContainer, 12, 6); + $container->add($imageContainer, 12, 12, 4); } return $container; }