forms.less: Fix help icon layout
This commit is contained in:
parent
c395dbd813
commit
b9d64b40a4
|
@ -96,7 +96,10 @@ class Help extends Zend_Form_Decorator_Abstract
|
|||
$helpContent = $this->getView()->icon(
|
||||
'help',
|
||||
$description . ($description && $requirement ? ' ' : '') . $requirement,
|
||||
array('aria-hidden' => $this->accessible ? 'true' : 'false')
|
||||
array(
|
||||
'class' => 'help',
|
||||
'aria-hidden' => $this->accessible ? 'true' : 'false'
|
||||
)
|
||||
) . $helpContent;
|
||||
}
|
||||
|
||||
|
|
|
@ -274,12 +274,17 @@ form div.element {
|
|||
|
||||
form label {
|
||||
display: inline-block;
|
||||
margin-top: 0.3em;
|
||||
vertical-align: top;
|
||||
margin-top: 0.25em;
|
||||
margin-right: 1em;
|
||||
font-size: 0.9em;
|
||||
width: 10em;
|
||||
}
|
||||
|
||||
form div.element i.help:before {
|
||||
margin-top: 0.25em;
|
||||
}
|
||||
|
||||
label ~ * {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue