From 426e1cf80fa057bea13eac91f43939f070e482a8 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 27 Sep 2019 20:09:47 +0200 Subject: [PATCH] responsive fix --- lam/lib/modules/inetOrgPerson.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lam/lib/modules/inetOrgPerson.inc b/lam/lib/modules/inetOrgPerson.inc index 90155b8a..bf39585b 100644 --- a/lam/lib/modules/inetOrgPerson.inc +++ b/lam/lib/modules/inetOrgPerson.inc @@ -1560,15 +1560,16 @@ class inetOrgPerson extends baseModule implements passwordService { // password buttons if (!$this->isUnixActive() && checkIfWriteAccessIsAllowed($this->get_scope()) && isset($this->attributes['userPassword'][0]) && !$this->isAdminReadOnly('userPassword')) { $fieldContainer->add(new htmlSubTitle(_('Password')), 12); - $pwdContainer = new htmlTable(); + $pwdContainer = new htmlGroup(); if (pwd_is_enabled($this->attributes['userPassword'][0])) { $pwdContainer->addElement(new htmlButton('lockPassword', _('Lock password'))); } else { $pwdContainer->addElement(new htmlButton('unlockPassword', _('Unlock password'))); } + $pwdContainer->addElement(new htmlSpacer('0.5rem', null)); $pwdContainer->addElement(new htmlButton('removePassword', _('Remove password'))); - $fieldContainer->addElement($pwdContainer); + $fieldContainer->add($pwdContainer, 12, 12, 12, 'text-center'); } // photo if (!$this->isBooleanConfigOptionSet('inetOrgPerson_hidejpegPhoto')) {