CSS: Add space before the autosubmit info in forms

This commit is contained in:
Florian Strohmaier 2016-04-05 14:15:08 +02:00 committed by Eric Lippmann
parent ab626c211b
commit 0a9c0925cb
2 changed files with 5 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class Autosubmit extends Zend_Form_Decorator_Abstract
: t('Upon its value has changed, this field issues an automatic update of this page.');
$content .= $this->getView()->icon('cw', $warning, array(
'aria-hidden' => $isForm ? 'false' : 'true',
'class' => 'spinner'
'class' => 'spinner autosubmit-info'
));
if (! $isForm && $this->getAccessible()) {
$content = '<span id="' . $this->getWarningId() . '" class="sr-only">' . $warning . '</span>' . $content;

View File

@ -83,6 +83,10 @@ form.inline {
margin-left: 10em;
}
.autosubmit-info {
margin-left: 0.5em;
}
button:hover .icon-cancel {
color: @color-critical;
}