CSS: Apply margin to spinner in form-controls only

refs #3676
This commit is contained in:
Florian Strohmaier 2019-06-25 16:21:39 +02:00 committed by Johannes Meyer
parent 59271fd8c0
commit f8ccce9bb8
1 changed files with 14 additions and 1 deletions

View File

@ -95,7 +95,6 @@ form:not(.inline):not([role="search"]) {
.spinner {
line-height: 2.5em;
margin: .5em 0;
&:before {
margin-left: .5em;
@ -118,6 +117,16 @@ select ~ .spinner:before {
.control-group select {
background: @low-sat-blue;
flex: 1;
width: 0;
}
.control-group select option * {
width: 100%;
overflow: hidden;
white-space: nowrap;
max-width: 100%;
-ms-text-overflow: ellipsis;
text-overflow: ellipsis;
}
.control-group input:not([type="checkbox"]),
@ -203,6 +212,10 @@ input.search {
opacity: 0
}
.control-group .spinner {
margin: .5em 0;
}
.form-controls {
.spinner {
order: -1;