Commit 3aed4d36 by Tobias Skarhed Committed by Torkel Ödegaard

StatsPicker: Fix multiple value input layout etc. (#17827)

* Add padding and centering

* Vertically center input

* Add noOptions styles

* Move reove button to same line

* StatsPicker: style tweak
parent 9620ac4b
......@@ -58,6 +58,10 @@ $select-input-bg-disabled: $input-bg-disabled;
position: absolute;
z-index: $zindex-dropdown;
min-width: 100%;
&-notice--no-options {
background-color: $input-bg;
padding: 10px;
}
}
.gf-form-select-box__menu-list {
......@@ -75,6 +79,21 @@ $select-input-bg-disabled: $input-bg-disabled;
.gf-form-select-box__multi-value {
display: inline;
margin: 0 6px 0 0;
cursor: pointer;
}
.gf-form-select-box__multi-value__remove {
text-align: center;
display: inline-block;
height: 14px;
vertical-align: middle;
margin-left: 2px;
}
.gf-form-select-box__multi-value__label {
display: inline;
vertical-align: middle;
}
.gf-form-select-box__option {
......@@ -105,6 +124,7 @@ $select-input-bg-disabled: $input-bg-disabled;
vertical-align: middle;
> div {
display: inline-block;
vertical-align: middle;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment