mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
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(
|
$helpContent = $this->getView()->icon(
|
||||||
'help',
|
'help',
|
||||||
$description . ($description && $requirement ? ' ' : '') . $requirement,
|
$description . ($description && $requirement ? ' ' : '') . $requirement,
|
||||||
array('aria-hidden' => $this->accessible ? 'true' : 'false')
|
array(
|
||||||
|
'class' => 'help',
|
||||||
|
'aria-hidden' => $this->accessible ? 'true' : 'false'
|
||||||
|
)
|
||||||
) . $helpContent;
|
) . $helpContent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -274,12 +274,17 @@ form div.element {
|
|||||||
|
|
||||||
form label {
|
form label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: 0.3em;
|
vertical-align: top;
|
||||||
|
margin-top: 0.25em;
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
width: 10em;
|
width: 10em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
form div.element i.help:before {
|
||||||
|
margin-top: 0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
label ~ * {
|
label ~ * {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user