css: Enhance layout of inline forms

This commit is contained in:
Johannes Meyer 2020-05-05 09:34:39 +02:00
parent bdea1bfd47
commit 43cb5f587a
1 changed files with 5 additions and 6 deletions

View File

@ -25,7 +25,7 @@ form.icinga-form {
margin: 1em -1em 1em 0;
}
&:not(.inline) .control-group > * {
.control-group > :not(.control-label-group) {
margin-right: 1em;
}
@ -115,17 +115,16 @@ form.inline {
.control-group {
margin: 0;
&:last-child {
margin-right: -1em;
}
}
.control-label-group {
width: auto;
line-height: 0.857em;
}
.control-group .spinner {
line-height: 1.5;
margin: 0 auto;
}
}
// General input styles